We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c7de6 commit 7ec25caCopy full SHA for 7ec25ca
src/app/cli.h
@@ -54,7 +54,12 @@ struct CliParameters {
54
QCommandLineParser parser;
55
parser.setApplicationDescription( "Klogg log viewer" );
56
const auto helpOption = parser.addHelpOption();
57
- const auto versionOption = parser.addVersionOption();
+
58
+ const QCommandLineOption versionOption(
59
+ QStringList() << "v"
60
+ << "version",
61
+ "Displays version information");
62
+ parser.addOption(versionOption);
63
64
const QCommandLineOption multiInstanceOption(
65
QStringList() << "m"
0 commit comments