summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpidd.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-10-16 13:01:33 +0000
committerAlan Conway <aconway@apache.org>2007-10-16 13:01:33 +0000
commitccde237e3c413d3f9ae68e3c0c3d30b04f7f8dfd (patch)
treeb053b537f5f752f0c22f4e0726d553a4c469237d /qpid/cpp/src/qpidd.cpp
parent75d87f787ff5c84723b07af73ee1eaa3bcf5219e (diff)
downloadqpid-python-ccde237e3c413d3f9ae68e3c0c3d30b04f7f8dfd.tar.gz
Edits to --help message and man page to improve readabiliity.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@585137 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpidd.cpp')
-rw-r--r--qpid/cpp/src/qpidd.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/src/qpidd.cpp b/qpid/cpp/src/qpidd.cpp
index 97dd83689d..00fa8d8d21 100644
--- a/qpid/cpp/src/qpidd.cpp
+++ b/qpid/cpp/src/qpidd.cpp
@@ -47,10 +47,10 @@ struct DaemonOptions : public qpid::Options {
DaemonOptions() : qpid::Options("Daemon options"), daemon(false), quit(false), check(false), wait(10)
{
addOptions()
- ("daemon,d", optValue(daemon), "Run as a daemon. With --port 0 print actual listening port.")
- ("wait,w", optValue(wait, "SECONDS"), "Maximum wait for daemon response.")
- ("check,c", optValue(check), "If a daemon is running print its pid to stdout and return 0.")
- ("quit,q", optValue(quit), "Stop the running daemon politely.");
+ ("daemon,d", optValue(daemon), "Run as a daemon.")
+ ("wait,w", optValue(wait, "SECONDS"), "Sets the maximum wait time to initialize the daemon. If the daemon fails to initialize, prints an error and returns 1")
+ ("check,c", optValue(check), "Prints the daemon's process ID to stdout and returns 0 if the daemon is running, otherwise returns 1")
+ ("quit,q", optValue(quit), "Tells the daemon to shut down");
}
};