summaryrefslogtreecommitdiff
path: root/tools/src/py/qpid-queue-stats
diff options
context:
space:
mode:
Diffstat (limited to 'tools/src/py/qpid-queue-stats')
-rwxr-xr-xtools/src/py/qpid-queue-stats3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/src/py/qpid-queue-stats b/tools/src/py/qpid-queue-stats
index 808ea50e6b..54f22dfc42 100755
--- a/tools/src/py/qpid-queue-stats
+++ b/tools/src/py/qpid-queue-stats
@@ -125,7 +125,8 @@ def main(argv=None):
p = optparse.OptionParser()
p.add_option('--broker-address','-a', default='localhost' , help='broker-addr is in the form: [username/password@] hostname | ip-address [:<port>] \n ex: localhost, 10.1.1.7:10000, broker-host:10000, guest/guest@localhost')
p.add_option('--filter','-f' ,default=None ,help='a list of comma separated queue names (regex are accepted) to show')
- p.add_option("--sasl-mechanism", action="store", choices=["EXTERNAL","ANONYMOUS","PLAIN","CRAM-MD5","DIGEST-MD5","GSSAPI"], metavar="<mech>", help="SASL mechanism for authentication. SASL automatically picks the most secure available mechanism - use this option to override.")
+ p.add_option("--sasl-mechanism", action="store", type="string", metavar="<mech>", help="SASL mechanism for authentication (e.g. EXTERNAL, ANONYMOUS, PLAIN, CRAM-MD, DIGEST-MD5, GSSAPI). SASL automatically picks the most secure available mechanism - use this option to override.")
+
options, arguments = p.parse_args(args=argv)