chore: add short options for h for help and v for version in deskflow-gui

This commit is contained in:
sithlord48
2025-04-29 09:55:57 -04:00
committed by Nick Bolton
parent ed99306417
commit 0d6837a948

View File

@ -52,8 +52,8 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
// Add Command Line Options
auto helpOption = QCommandLineOption("help", "Display Help on the command line");
auto versionOption = QCommandLineOption("version", "Display version information");
auto helpOption = QCommandLineOption({"h", "help"}, "Display Help on the command line");
auto versionOption = QCommandLineOption({"v", "version"}, "Display version information");
auto resetOption = QCommandLineOption("reset", "Reset all settings");
QCommandLineParser parser;