- // put client-only arguments here
- cliParser->addSwitch("debugbufferswitches", 0, "Enables debugging for bufferswitches");
- cliParser->addSwitch("debugmodel", 0, "Enables debugging for models");
+ // put client-only arguments here
+ cliParser->addOption("qss <file.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 <address>[,<address[,...]]>", 0, "The address(es) quasselcore will listen on", "::,0.0.0.0");
+ cliParser->addOption("port <port>", 'p', "The port quasselcore will listen at", QString("4242"));
+ cliParser->addSwitch("norestore", 'n', "Don't restore last core's state");
+ cliParser->addOption("loglevel <level>", 'L', "Loglevel Debug|Info|Warning|Error", "Info");
+#ifdef HAVE_SYSLOG
+ cliParser->addSwitch("syslog", 0, "Log to syslog");