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 7c0a917Copy full SHA for 7c0a917
src/app/cli.h
@@ -54,7 +54,9 @@ 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("version", "Displays version information");
59
+ parser.addOption(versionOption);
60
61
const QCommandLineOption multiInstanceOption(
62
QStringList() << "m"
0 commit comments