X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fmain.cpp;h=b567af4f41ee4d2c4e0d7aaafab2911ec9deafeb;hp=eef7947444aa64fbe8ec0d0009083e857940bfb5;hb=dcac65fc4beeb1167de8ebec5cc54608fc314fd3;hpb=f824db0e31b54969e0b7fa0b5405b1e9173d482c diff --git a/src/common/main.cpp b/src/common/main.cpp index eef79474..b567af4f 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -45,7 +45,6 @@ #include "quassel.h" int main(int argc, char **argv) { - Q_INIT_RESOURCE(i18n); // Setup build information and version string # include "version.gen" @@ -87,11 +86,13 @@ int main(int argc, char **argv) { #endif #ifndef BUILD_QTCLIENT // put core-only arguments here + cliParser->addOption("listen
[,", 0, "The address(es) quasselcore will listen on", "0.0.0.0,::"); cliParser->addOption("port ",'p', "The port quasselcore will listen at", QString("4242")); cliParser->addSwitch("norestore", 'n', "Don't restore last core's state"); cliParser->addOption("logfile ", 'l', "Path to logfile"); cliParser->addOption("loglevel ", 'L', "Loglevel Debug|Info|Warning|Error", "Info"); - cliParser->addOption("datadir ", 0, "Specify the directory holding datafiles like the Sqlite DB and the SSL Cert"); + cliParser->addOption("configdir ", 'c', "Specify the directory holding configuration files, the SQlite database and the SSL Cert"); + cliParser->addOption("datadir ", 0, "DEPRECATED - Use --configdir instead"); #endif #ifdef HAVE_KDE