diff --git a/zulip_bots/zulip_bots/zulip_bot_output.py b/zulip_bots/zulip_bots/zulip_bot_output.py index b1fc762..9fc1b2c 100644 --- a/zulip_bots/zulip_bots/zulip_bot_output.py +++ b/zulip_bots/zulip_bots/zulip_bot_output.py @@ -19,8 +19,8 @@ current_dir = os.path.dirname(os.path.abspath(__file__)) def parse_args(): usage = ''' - zulip-bot-output --message "Send this message to the bot" - Example: zulip-bot-output xkcd --message "1" + zulip-bot-output + Example: zulip-bot-output xkcd "1" This tool can be used for testing bots by sending simple messages and capturing the response. (Internally, this program loads bot-related code from the @@ -33,8 +33,7 @@ def parse_args(): action='store', help='the name or path an existing bot to run') - parser.add_argument('--message', '-m', - required=True, + parser.add_argument('message', action='store', help='the message content to send to the bot')