X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fmain.cpp;h=50221a2ad4ca836e0b8183cab7ec1d0c528d4768;hb=3197b8b309f09ac1f4db54fa8fa819e33b87383e;hp=555ec1559763f56ee2ee0d0f70ce964bc683db58;hpb=693fafa0e9fd606bddbd3f3054d4f8c173b33291;p=quassel.git diff --git a/src/common/main.cpp b/src/common/main.cpp index 555ec155..50221a2a 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -87,6 +87,7 @@ int main(int argc, char **argv) { Global::parser.addSwitch("norestore", 'n', "Don't restore last core's state"); Global::parser.addOption("logfile",'l',"Path to logfile"); Global::parser.addOption("loglevel",'L',"Loglevel Debug|Info|Warning|Error","Info"); + Global::parser.addOption("datadir", 0, "Specify the directory holding datafiles like the Sqlite DB and the SSL Cert"); #endif // BUILD_QTUI #ifndef BUILD_CORE // put client-only arguments here @@ -114,7 +115,6 @@ int main(int argc, char **argv) { qWarning("Warning: Couldn't open logfile '%s' - will log to stdout instead",qPrintable(logFile.fileName())); else logFile.close(); } - else qWarning("No logfile set - will log to stdout instead"); } qsrand(QTime(0,0,0).secsTo(QTime::currentTime()));