/***************************************************************************
- * Copyright (C) 2005-08 by the Quassel Project *
+ * Copyright (C) 2005-09 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#include "quassel.h"
int main(int argc, char **argv) {
- Q_INIT_RESOURCE(i18n);
// Setup build information and version string
# include "version.gen"
#endif
#ifndef BUILD_QTCLIENT
// 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("logfile <path>", 'l', "Path to logfile");
cliParser->addOption("loglevel <level>", 'L', "Loglevel Debug|Info|Warning|Error", "Info");
- cliParser->addOption("datadir <path>", 0, "Specify the directory holding datafiles like the Sqlite DB and the SSL Cert");
+ cliParser->addOption("configdir <path>", 'c', "Specify the directory holding configuration files, the SQlite database and the SSL Cert");
+ cliParser->addOption("datadir <path>", 0, "DEPRECATED - Use --configdir instead");
#endif
#ifdef HAVE_KDE