summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-01-05 18:31:01 +0000
committerChris Wilson <chris+github@qwirx.com>2008-01-05 18:31:01 +0000
commitc29fa4b16cab55d9541c174c157548e39e791e8c (patch)
tree3242192fdb28a38b89d33496fe22aadc3ad3afd6 /lib
parent3b8640ff6f07806e8ab4117814aa76332738b679 (diff)
Print the path of the current/default configuration file in usage.
Diffstat (limited to 'lib')
-rw-r--r--lib/server/Daemon.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/server/Daemon.cpp b/lib/server/Daemon.cpp
index 49057d91..bdbbb433 100644
--- a/lib/server/Daemon.cpp
+++ b/lib/server/Daemon.cpp
@@ -114,11 +114,12 @@ void Daemon::Usage()
std::cout <<
DaemonBanner() << "\n"
"\n"
- "Usage: " << mAppName << " [options] [config file]\n" <<
+ "Usage: " << mAppName << " [options] [config file]\n"
"\n"
"Options:\n"
" -c <file> Use the specified configuration file. If -c is omitted, the last\n"
- " argument is the configuration file\n"
+ " argument is the configuration file, or else the default \n"
+ " [" << GetConfigFileName() << "]\n"
#ifndef WIN32
" -D Debugging mode, do not fork, one process only, one client only\n"
" -F Do not fork into background, but fork to serve multiple clients\n"