summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-12-31 14:35:40 +0000
committerRafael H. Schloming <rhs@apache.org>2009-12-31 14:35:40 +0000
commit8e46650329c32312c6145707dbc71c9197c56964 (patch)
tree6e691b85d4bb4b92545048c2f10cdbb2d1a47414
parent8e69433bac5c020c51432e8a28b2b4f0b96fa845 (diff)
downloadqpid-python-qpid.rnr.tar.gz
fixed usage to be clearer on how properties and map entries are specifiedqpid.rnr
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid.rnr@894850 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xpython/examples/api/spout3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/examples/api/spout b/python/examples/api/spout
index 6a9b2b6e3d..1928303e43 100755
--- a/python/examples/api/spout
+++ b/python/examples/api/spout
@@ -43,8 +43,9 @@ parser.add_option("-t", "--timeout", type=float, default=None,
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()