Description of problem: Documentation offers in example option '--content' but program refuses it with error, but it accepts content as second parameter without this option. So I suggests change this example in documentation instead of changing program. Version-Release number of selected component (if applicable): rhm-docs-0.10-2.el5 qpid-tools-0.10-6.el5 How reproducible: 100% Actual results: Documentation: $ ./spout my-queue --content one $ ./spout my-queue --content two $ ./spout my-queue --content three program: $ ./spout my-queue --content one usage: spout [options] ADDRESS [ CONTENT ... ] spout: error: no such option: --content Expected results: Documentation: $ ./spout my-queue one $ ./spout my-queue two $ ./spout my-queue three program: $ ./spout my-queue one Message(properties={'spout-id': '7e8d40b8-da23-1f4a-9037-c3dc7ce0c5df:0'}, content='one')
(In reply to comment #0) Actual results: Documentation: 2.4.3.3. browse Some options specify message transfer semantics. For example, they might state whether messages should be consumed or read in browsing mode, or specify reliability characteristics. The following example uses the browse option to receive messages without removing them from a queue. Example 2.10. Browsing a Queue Use the browse mode to receive messages without removing them from the queue. First, send three messages to the queue: $ ./spout my-queue --content one $ ./spout my-queue --content two $ ./spout my-queue --content three Sorry for scattered description.
http://documentation-devel.engineering.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/2.2/html-single/Messaging_Programming_Reference/index.html#Last_Value_Queue_Command-line_Example
Released for MRG 2.2