diff options
author | Ask Solem <ask@celeryproject.org> | 2014-01-16 15:01:19 +0000 |
---|---|---|
committer | Ask Solem <ask@celeryproject.org> | 2014-01-16 15:01:19 +0000 |
commit | 97abf06e054398f22b7bf77aa6349d8a2ccd860b (patch) | |
tree | d4cabb26972ef44dbd836d3f7d43470654a50bd2 /demo/demo_send.py | |
parent | bff6ddb0ea116e7c3b06f6cf2509c6411b3e4803 (diff) | |
parent | 07a312582d90b1303ff5d675613935392f6a6283 (diff) | |
download | py-amqp-readwrite.tar.gz |
Merge branch 'master' into readwritereadwrite
Conflicts:
amqp/transport.py
Diffstat (limited to 'demo/demo_send.py')
-rwxr-xr-x | demo/demo_send.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/demo/demo_send.py b/demo/demo_send.py index 0084815..27bb1b1 100755 --- a/demo/demo_send.py +++ b/demo/demo_send.py @@ -19,19 +19,23 @@ def main(): parser = OptionParser( usage='usage: %prog [options] message\nexample: %prog hello world', ) - parser.add_option('--host', dest='host', + parser.add_option( + '--host', dest='host', help='AMQP server to connect to (default: %default)', default='localhost', ) - parser.add_option('-u', '--userid', dest='userid', + parser.add_option( + '-u', '--userid', dest='userid', help='userid to authenticate as (default: %default)', default='guest', ) - parser.add_option('-p', '--password', dest='password', + parser.add_option( + '-p', '--password', dest='password', help='password to authenticate with (default: %default)', default='guest', ) - parser.add_option('--ssl', dest='ssl', action='store_true', + parser.add_option( + '--ssl', dest='ssl', action='store_true', help='Enable SSL (default: not enabled)', default=False, ) |