api: Remove unnecessary API key details.

Fixes #1.
This commit is contained in:
derAnfaenger 2017-08-25 11:03:06 +02:00 committed by Tim Abbott
parent 9d683e4669
commit 86729a862c
14 changed files with 44 additions and 41 deletions

View file

@ -31,13 +31,13 @@ import zulip
class StringIO(_StringIO):
name = '' # https://github.com/python/typeshed/issues/598
usage = """upload-file --user=<user's email address> --api-key=<user's api key> [options]
usage = """upload-file [options]
Upload a file, and print the corresponding URI.
Example: upload-file --user=cordelia@zulip.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --file-path=cat.png
Example: upload-file --file-path=cat.png
You can omit --user and --api-key arguments if you have a properly set up ~/.zuliprc
Specify your Zulip API credentials and server in a ~/.zuliprc file or using the options.
If no --file-path is specified, a placeholder text file will be used instead.
"""