X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fmain.cpp;h=01ab79e4586289571792f92c6ac551aeb4131ec6;hp=21d066ef79ce9a58fffc51bbe59bf33bed3bcaa2;hb=af569a42f6635f6abfcedeb45b730ee64d53e0b8;hpb=fbea3b379a5e2a21b343037ac96d106ad1fe5c63 diff --git a/src/common/main.cpp b/src/common/main.cpp index 21d066ef..01ab79e4 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -84,6 +84,7 @@ int main(int argc, char **argv) { // put shared client&core arguments here 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"); cliParser->addOption("datadir ", 0, "DEPRECATED - Use --configdir instead"); @@ -101,6 +102,7 @@ int main(int argc, char **argv) { cliParser->addOption("loglevel ", 'L', "Loglevel Debug|Info|Warning|Error", "Info"); 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"); + cliParser->addOption("change-userpass ", 0, "Starts an interactive session to change the password of the user identified by username"); #endif #ifdef HAVE_KDE