| Summary: | Wrong syntax of --help option in spout.cpp and drain.cpp | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Pavel Moravec <pmoravec> |
| Component: | qpid-cpp | Assignee: | Gordon Sim <gsim> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Frantisek Reznicek <freznice> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.0 | CC: | esammons, freznice, gsim, mcressma, tross |
| Target Milestone: | 2.1 | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-07 17:42:19 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed upstream: http://svn.apache.org/viewvc?view=rev&rev=1125295 This was in the 0.14 rebase. Issue fixed, tested on rhel5.8 / 6.2 i/x on packages: qpid-cpp-client-devel-0.14-14.el5 qpid-cpp-client-devel-0.14-12.el6 CLOSED/CRELEASE -> ASSIGNED -> ON_QA -> VERIFIED |
Description of problem: spout.cpp and drain.cpp in qpid-0.10/cpp/examples/messaging/ has wrong syntax of --connection-options parameter help: spout.cpp:68: add("connection-options", connectionOptions, "connection options string in the form {name1=value1, name2=value2}"); drain.cpp:53: add("connection-options", connectionOptions, "connection options string in the form {name1=value1, name2=value2}"); While the correct syntax is {name1:value1, name2:value2} (i.e. replace '=' by ':' there) Version-Release number of selected component (if applicable): any How reproducible: 100% Steps to Reproduce: 1. Compile spout.cpp and drain.cpp from qpid C++ examples 2. ./spout --help 3. ./drain --help Actual results: output has line: --connection-options VALUE connection options string in the form {name1=value1, name2=value2} Expected results: output should have line: --connection-options VALUE connection options string in the form {name1:value1, name2:value2} Additional info: