From 8e46650329c32312c6145707dbc71c9197c56964 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Thu, 31 Dec 2009 14:35:40 +0000 Subject: fixed usage to be clearer on how properties and map entries are specified git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid.rnr@894850 13f79535-47bb-0310-9956-ffa450edef68 --- python/examples/api/spout | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- cgit v1.2.1