send_message: Remove unnecessary API key details.
This removes a lot of clutter from this example.
This is the send_message part of
@@ -26,14 +26,12 @@ import argparse
import zulip
-usage = """send-message --user=<bot's email address> --api-key=<bot's api key> [options] <recipients>
+usage = """send-message [options] <recipients>
Sends a test message to the specified recipients.
-Example: send-message --user=your-bot@example.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --type=stream commits --subject="my subject" --message="test message"
-Example: send-message --user=your-bot@example.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 user1@example.com user2@example.com
-
-You can omit --user and --api-key arguments if you have a properly set up ~/.zuliprc
+Example: send-message --type=stream commits --subject="my subject" --message="test message"
+Example: send-message user1@example.com user2@example.com
"""
parser = zulip.add_default_arguments(argparse.ArgumentParser(usage=usage))
parser.add_argument('recipients', nargs='*')
