X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fmain.cpp;h=98ab018c7345c5d72fde22ba5e8dc010c2227136;hp=980d4f398f9ee863259eb5bcc5f75dee01b034c3;hb=340418f73a7bcf073de9212f157d79c8cfe10079;hpb=9f60fe87355e2b390b836b50f61c7cf961fbf1c9 diff --git a/src/common/main.cpp b/src/common/main.cpp index 980d4f39..98ab018c 100644 --- a/src/common/main.cpp +++ b/src/common/main.cpp @@ -84,6 +84,7 @@ int main(int argc, char **argv) { // put shared client&core arguments here cliParser->addSwitch("debug",'d', "Enable debug output"); cliParser->addSwitch("help",'h', "Display this help and exit"); + cliParser->addSwitch("version", 'v', "Display version information"); cliParser->addOption("configdir ", 'c', "Specify the directory holding configuration files, the SQlite database and the SSL Cert"); cliParser->addOption("datadir ", 0, "DEPRECATED - Use --configdir instead");