Author: rhs
Date: Thu Dec 31 14:35:40 2009
New Revision: 894850
URL: http://svn.apache.org/viewvc?rev=894850&view=rev
Log:
fixed usage to be clearer on how properties and map entries are specified
Modified:
qpid/branches/qpid.rnr/python/examples/api/spout
Modified: qpid/branches/qpid.rnr/python/examples/api/spout
URL:
http://svn.apache.org/viewvc/qpid/branches/qpid.rnr/python/examples/api/spout?rev=894850&r1=894849&r2=894850&view=diff
==============================================================================
--- qpid/branches/qpid.rnr/python/examples/api/spout (original)
+++ qpid/branches/qpid.rnr/python/examples/api/spout Thu Dec 31 14:35:40 2009
@@ -43,8 +43,9 @@
parser.add_option("-i", "--id", help="use the supplied id instead of
generating one")
parser.add_option("-r", "--reply-to", help="specify reply-to address")
parser.add_option("-P", "--property", dest="properties", action="append",
default=[],
- help="specify message property")
+ metavar="NAME=VALUE", help="specify message property")
parser.add_option("-M", "--map", dest="entries", action="append", default=[],
+ metavar="KEY=VALUE",
help="specify map entry for message body")
opts, args = parser.parse_args()
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]