From: Manuel Nickschas Date: Wed, 18 Mar 2009 12:47:13 +0000 (+0100) Subject: Don't mention the database in --help for -c for the client X-Git-Tag: 0.4.1~5 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=dc305866fd969af65e5f3e4c8486dd3099a68660 Don't mention the database in --help for -c for the client --- diff --git a/src/common/main.cpp b/src/common/main.cpp index 98ab018c..14329f61 100644 --- 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->addOption("configdir ", 'c', "Specify the directory holding configuration files, the SQlite database and the SSL Cert"); +#ifdef BUILD_QTUI + cliParser->addOption("configdir ", 'c', "Specify the directory holding the client configuration"); +#else + cliParser->addOption("configdir ", 'c', "Specify the directory holding configuration files, the SQlite database and the SSL certificate"); +#endif cliParser->addOption("datadir ", 0, "DEPRECATED - Use --configdir instead"); #ifndef BUILD_CORE