add command line version option

pull/20/head
Michail Vourlakos 4 years ago
parent 0cfd578a2b
commit 0563b2d21b

@ -99,6 +99,7 @@ int main(int argc, char **argv)
QCommandLineParser parser;
parser.addHelpOption();
parser.addVersionOption();
parser.addOptions({
{{"r", "replace"}, i18nc("command line", "Replace the current Latte instance.")}
, {{"d", "debug"}, i18nc("command line", "Show the debugging messages on stdout.")}

Loading…
Cancel
Save