You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2009/06/03 20:01:41 UTC

svn commit: r781498 - /qpid/trunk/qpid/python/commands/qpid-config

Author: gsim
Date: Wed Jun  3 18:01:41 2009
New Revision: 781498

URL: http://svn.apache.org/viewvc?rev=781498&view=rev
Log:
QPID-1890: Ensure option for alternate exchange is treated consistently (I also change the name as I didn't like the shortened form).


Modified:
    qpid/trunk/qpid/python/commands/qpid-config

Modified: qpid/trunk/qpid/python/commands/qpid-config
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/commands/qpid-config?rev=781498&r1=781497&r2=781498&view=diff
==============================================================================
--- qpid/trunk/qpid/python/commands/qpid-config (original)
+++ qpid/trunk/qpid/python/commands/qpid-config Wed Jun  3 18:01:41 2009
@@ -73,7 +73,7 @@
     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 @@
     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 @@
         _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



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org