chore: add short options for h for help and v for version in deskflow-gui
This commit is contained in:
parent
ed99306417
commit
0d6837a948
1 changed files with 2 additions and 2 deletions
|
|
@ -52,8 +52,8 @@ int main(int argc, char *argv[])
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
|
|
||||||
// Add Command Line Options
|
// Add Command Line Options
|
||||||
auto helpOption = QCommandLineOption("help", "Display Help on the command line");
|
auto helpOption = QCommandLineOption({"h", "help"}, "Display Help on the command line");
|
||||||
auto versionOption = QCommandLineOption("version", "Display version information");
|
auto versionOption = QCommandLineOption({"v", "version"}, "Display version information");
|
||||||
auto resetOption = QCommandLineOption("reset", "Reset all settings");
|
auto resetOption = QCommandLineOption("reset", "Reset all settings");
|
||||||
|
|
||||||
QCommandLineParser parser;
|
QCommandLineParser parser;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue