summaryrefslogtreecommitdiff
path: root/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
commitf9eda9ffceec63e0722735634d4ab54d32b853dd (patch)
treec4e1dead9abe4d26397c5291f59dc0c28f34ca21 /cpp/src/qpidd.cpp
parent73afb137deaa9489c5d7126dd11be8095cca3e7a (diff)
downloadqpid-python-f9eda9ffceec63e0722735634d4ab54d32b853dd.tar.gz
Edits to --help message and man page to improve readabiliity.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@585137 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpidd.cpp')
-rw-r--r--cpp/src/qpidd.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/qpidd.cpp b/cpp/src/qpidd.cpp
index 97dd83689d..00fa8d8d21 100644
--- a/cpp/src/qpidd.cpp
+++ b/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");
}
};