From commits-return-11606-apmail-qpid-commits-archive=qpid.apache.org@qpid.apache.org Thu Dec 31 14:36:03 2009 Return-Path: Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: (qmail 36121 invoked from network); 31 Dec 2009 14:36:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Dec 2009 14:36:03 -0000 Received: (qmail 87964 invoked by uid 500); 31 Dec 2009 14:36:03 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 87930 invoked by uid 500); 31 Dec 2009 14:36:03 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 87921 invoked by uid 99); 31 Dec 2009 14:36:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Dec 2009 14:36:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Dec 2009 14:36:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5D8ED2388978; Thu, 31 Dec 2009 14:35:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r894850 - /qpid/branches/qpid.rnr/python/examples/api/spout Date: Thu, 31 Dec 2009 14:35:40 -0000 To: commits@qpid.apache.org From: rhs@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091231143540.5D8ED2388978@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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:commits-subscribe@qpid.apache.org