diff options
author | Gordon Sim <gsim@apache.org> | 2009-06-03 18:01:41 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2009-06-03 18:01:41 +0000 |
commit | 9f85d1552c3c679367bdebfea91ab1e55cdb03e3 (patch) | |
tree | b1f18db26d79799046334b757a3afdc73082657c | |
parent | 6922ea51060bbd9b60a52a16759eb297a509d172 (diff) | |
download | qpid-python-9f85d1552c3c679367bdebfea91ab1e55cdb03e3.tar.gz |
QPID-1890: Ensure option for alternate exchange is treated consistently (I also change the name as I didn't like the shortened form).
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@781498 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-x | qpid/python/commands/qpid-config | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/python/commands/qpid-config b/qpid/python/commands/qpid-config index 144fe36953..0c7ccae787 100755 --- a/qpid/python/commands/qpid-config +++ b/qpid/python/commands/qpid-config @@ -73,7 +73,7 @@ def Usage (): print " ex: localhost, 10.1.1.7:10000, broker-host:10000, guest/guest@localhost" print print "Add Queue Options:" - print " --altern-ex [name of the alternate exchange]" + print " --alternate-exchange [name of the alternate exchange]" print " The alternate-exchange field specifies how messages on this queue should" print " be treated when they are rejected by a subscriber, or when they are" print " orphaned by queue deletion. When present, rejected or orphaned messages" @@ -371,7 +371,7 @@ try: longOpts = ("durable", "cluster-durable", "bindings", "broker-addr=", "file-count=", "file-size=", "max-queue-size=", "max-queue-count=", "limit-policy=", "order=", "sequence", "ive", "generate-queue-events=", "force", "force-if-not-empty", - "force_if_used", "altern_ex=", "passive") + "force_if_used", "alternate-exchange=", "passive") (optlist, encArgs) = getopt.gnu_getopt (sys.argv[1:], "a:b", longOpts) except: Usage () @@ -387,7 +387,7 @@ for opt in optlist: _recursive = True if opt[0] == "-a" or opt[0] == "--broker-addr": _host = opt[1] - if opt[0] == "--altern-ex": + if opt[0] == "--alternate-exchange": _altern_ex = opt[1] if opt[0] == "--passive": _passive = True |