examples/send-message: Remove default sender
(imported from commit 30ada075ac4f1b759fe787eef6a93275dbea584c)
This commit is contained in:
parent
b65ce435c4
commit
185ab66797
|
@ -29,13 +29,13 @@ usage = """send-message [options] <recipient>
|
||||||
|
|
||||||
Sends a test message to the specified recipients.
|
Sends a test message to the specified recipients.
|
||||||
|
|
||||||
Example: send-message --type=stream commits
|
Example: send-message --sender=you@example.com --type=stream commits
|
||||||
Example: send-message --site=https://zephyr.humbughq.com iago@humbughq.com
|
Example: send-message --sender=you@example.com --site=https://zephyr.humbughq.com iago@humbughq.com
|
||||||
"""
|
"""
|
||||||
parser = optparse.OptionParser(usage=usage)
|
parser = optparse.OptionParser(usage=usage)
|
||||||
parser.add_option('--api-key')
|
parser.add_option('--api-key')
|
||||||
|
parser.add_option('--sender')
|
||||||
parser.add_option('--site', default='https://humbughq.com')
|
parser.add_option('--site', default='https://humbughq.com')
|
||||||
parser.add_option('--sender', default='othello@humbughq.com')
|
|
||||||
parser.add_option('--type', default='private')
|
parser.add_option('--type', default='private')
|
||||||
(options, args) = parser.parse_args()
|
(options, args) = parser.parse_args()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue