projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a71514b
)
Don't mention the database in --help for -c for the client
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Wed, 18 Mar 2009 12:47:13 +0000
(13:47 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Wed, 18 Mar 2009 12:47:26 +0000
(13:47 +0100)
src/common/main.cpp
patch
|
blob
|
history
diff --git
a/src/common/main.cpp
b/src/common/main.cpp
index
98ab018
..
14329f6
100644
(file)
--- a/
src/common/main.cpp
+++ b/
src/common/main.cpp
@@
-85,7
+85,11
@@
int main(int argc, char **argv) {
cliParser->addSwitch("debug",'d', "Enable debug output");
cliParser->addSwitch("help",'h', "Display this help and exit");
cliParser->addSwitch("version", 'v', "Display version information");
cliParser->addSwitch("debug",'d', "Enable debug output");
cliParser->addSwitch("help",'h', "Display this help and exit");
cliParser->addSwitch("version", 'v', "Display version information");
- cliParser->addOption("configdir <path>", 'c', "Specify the directory holding configuration files, the SQlite database and the SSL Cert");
+#ifdef BUILD_QTUI
+ cliParser->addOption("configdir <path>", 'c', "Specify the directory holding the client configuration");
+#else
+ cliParser->addOption("configdir <path>", 'c', "Specify the directory holding configuration files, the SQlite database and the SSL certificate");
+#endif
cliParser->addOption("datadir <path>", 0, "DEPRECATED - Use --configdir instead");
#ifndef BUILD_CORE
cliParser->addOption("datadir <path>", 0, "DEPRECATED - Use --configdir instead");
#ifndef BUILD_CORE