X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fmain.cpp;h=aa574ab9a4ace2367b8460f737e535acfbed0eaa;hb=bb0a2d5c63c8f475660361a9d72055299c0aaca8;hp=2a33a3d801200643f96e1733444fbbb33f07d2b7;hpb=736012bf4a8b834d1adb2f4a3b0156380ecb5dcc;p=quassel.git diff --git a/src/common/main.cpp b/src/common/main.cpp index 2a33a3d8..aa574ab9 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -90,7 +90,7 @@ int main(int argc, char **argv) { cliParser->addSwitch("debugbufferswitches", 0, "Enables debugging for bufferswitches"); cliParser->addSwitch("debugmodel", 0, "Enables debugging for models"); #endif -#ifndef BUILD_QTCLIENT +#ifndef BUILD_QTUI // 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")); @@ -99,6 +99,8 @@ int main(int argc, char **argv) { cliParser->addOption("loglevel ", 'L', "Loglevel Debug|Info|Warning|Error", "Info"); 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"); + cliParser->addOption("select-backend ", 0, "Starts an interactive session and switches your current storage backend to the new one. Attempts a merge if the new backend is uninitialized and the old backend supports migration. Otherwise prompts for new user credentials!"); + cliParser->addSwitch("add-user", 0, "Starts an interactive session to add a new core user"); #endif #ifdef HAVE_KDE