From 0d6837a948a029ee116334cab9cbcd1d54d1d208 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Tue, 29 Apr 2025 09:55:57 -0400 Subject: [PATCH] chore: add short options for h for help and v for version in deskflow-gui --- src/apps/deskflow-gui/deskflow-gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/deskflow-gui/deskflow-gui.cpp b/src/apps/deskflow-gui/deskflow-gui.cpp index f0990a589..69a3312ec 100644 --- a/src/apps/deskflow-gui/deskflow-gui.cpp +++ b/src/apps/deskflow-gui/deskflow-gui.cpp @@ -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;