X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fmain.cpp;h=2bb2cdaf9d487bc6c3a1d3b2c852f905450274d9;hp=8669f1ddaa403d8b23b80b980de0d36f96dc26cc;hb=2deb46a3ce819c709800f1ded9072e62807b9574;hpb=7b57a7f61c1ab1a94129bfa8aa43f11f70cc16b8 diff --git a/src/common/main.cpp b/src/common/main.cpp index 8669f1dd..2bb2cdaf 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -69,7 +69,7 @@ int main(int argc, char **argv) { ki18n("A modern, distributed IRC client")); aboutData.addLicense(KAboutData::License_GPL_V2); aboutData.addLicense(KAboutData::License_GPL_V3); - aboutData.setBugAddress("http://bugs.quassel-irc.org"); + aboutData.setBugAddress("http://bugs.quassel-irc.org/projects/quassel-irc/issues/new"); aboutData.setOrganizationDomain(Quassel::buildInfo().organizationDomain.toUtf8()); KCmdLineArgs::init(argc, argv, &aboutData); @@ -95,16 +95,21 @@ int main(int argc, char **argv) { #ifndef BUILD_CORE // put client-only arguments here + cliParser->addOption("qss ", 0, "Load a custom application stylesheet"); cliParser->addSwitch("debugbufferswitches", 0, "Enables debugging for bufferswitches"); cliParser->addSwitch("debugmodel", 0, "Enables debugging for models"); #endif #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("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"); +#ifdef HAVE_SYSLOG_H + cliParser->addSwitch("syslog", 0, "Send the log to syslog."); +#else + cliParser->addOption("logfile ", 'l', "Path to logfile"); +#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->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");