summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2011-05-20 09:38:08 +0000
committerGordon Sim <gsim@apache.org>2011-05-20 09:38:08 +0000
commit5fc71831f13dca8ebfef47544a63ae27691d2542 (patch)
tree4d3e3b28d4a590df88e9dd5217d01fc14b7de678
parent0bab2f6cf49bbfc2db1089fc25d339315e92f2c1 (diff)
downloadqpid-python-5fc71831f13dca8ebfef47544a63ae27691d2542.tar.gz
QPID-3268: correct connection option syntax in usage statement
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1125295 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/examples/messaging/drain.cpp2
-rw-r--r--qpid/cpp/examples/messaging/spout.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/examples/messaging/drain.cpp b/qpid/cpp/examples/messaging/drain.cpp
index 5c938e9742..7700244fa8 100644
--- a/qpid/cpp/examples/messaging/drain.cpp
+++ b/qpid/cpp/examples/messaging/drain.cpp
@@ -50,7 +50,7 @@ struct Options : OptionParser
add("broker,b", url, "url of broker to connect to");
add("timeout,t", timeout, "timeout in seconds to wait before exiting");
add("forever,f", forever, "ignore timeout and wait forever");
- add("connection-options", connectionOptions, "connection options string in the form {name1=value1, name2=value2}");
+ add("connection-options", connectionOptions, "connection options string in the form {name1:value1, name2:value2}");
add("count,c", count, "number of messages to read before exiting");
}
diff --git a/qpid/cpp/examples/messaging/spout.cpp b/qpid/cpp/examples/messaging/spout.cpp
index 57b955c1de..cd11a7ad81 100644
--- a/qpid/cpp/examples/messaging/spout.cpp
+++ b/qpid/cpp/examples/messaging/spout.cpp
@@ -65,7 +65,7 @@ struct Options : OptionParser
add("property,P", properties, "specify message property");
add("map,M", entries, "specify entry for map content");
add("content", content, "specify textual content");
- add("connection-options", connectionOptions, "connection options string in the form {name1=value1, name2=value2}");
+ add("connection-options", connectionOptions, "connection options string in the form {name1:value1, name2:value2}");
}
static bool nameval(const std::string& in, std::string& name, std::string& value)