X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fmain.cpp;h=34fb70eb9e33e4fcc1dda7a1dc3820ab7610a128;hp=2bb2cdaf9d487bc6c3a1d3b2c852f905450274d9;hb=98bec7bab038a8e656f90617c59fe1e8c0907f71;hpb=2deb46a3ce819c709800f1ded9072e62807b9574 diff --git a/src/common/main.cpp b/src/common/main.cpp index 2bb2cdaf..34fb70eb 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -105,12 +105,11 @@ int main(int argc, char **argv) { 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("loglevel ", 'L', "Loglevel Debug|Info|Warning|Error", "Info"); -#ifdef HAVE_SYSLOG_H - cliParser->addSwitch("syslog", 0, "Send the log to syslog."); -#else - cliParser->addOption("logfile ", 'l', "Path to logfile"); +#ifdef HAVE_SYSLOG + cliParser->addSwitch("syslog", 0, "Log to syslog"); #endif - 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->addOption("logfile ", 'l', "Log to a file"); + cliParser->addOption("select-backend ", 0, "Switch storage backend (migrating data if possible)"); 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