diff options
author | Dominik Holland <dominik.holland@qt.io> | 2025-02-04 17:07:40 +0100 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2025-02-04 16:13:35 +0000 |
commit | 92ee96905ee914295f31590ec67595bea97a613a (patch) | |
tree | a546696ac9557e7bdf03b4dd69de0536454b8390 | |
parent | f912b6244dbb5d8916c0bb2d317b2bb9914a772a (diff) |
Change-Id: Ie591d109d5d3bbbb862e54e1c35c49a13f694be4
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
-rw-r--r-- | main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -52,7 +52,7 @@ static void usage() printf("appcontroller [--debug-gdb] [--debug-gdb-port <port>]" " [--debug-qml] [--debug-qml-port <port>] [--qml-debug-services <services>]" " [--profile-perf <params>] [--port-range <range>] [--stop] [--launch] [--show-platfrom]" - " [--make-default] [--remove-default] [--print-debug] [--version] [--detach]" + " [--make-default] [--no-wrapper] [--remove-default] [--print-debug] [--version] [--detach]" " [executable] [arguments]\n" "\n" "--port-range <range> Port range to use for debugging connections\n" @@ -69,6 +69,7 @@ static void usage() " application\n" "--show-platform Show platform information\n" "--make-default Make this application the default on boot\n" + "--no-wrapper Start the application without the configured wrapper command\n" "--remove-default Restore the default application\n" "--version Print version information\n" "--detach Start application as usual, then go into background\n" @@ -460,6 +461,8 @@ int main(int argc, char **argv) if (!makeDefault(args.takeFirst())) return 1; return 0; + } else if (arg == "--no-wrapper") { + config.wrapperCmd.clear(); } else if (arg == "--remove-default") { if (removeDefault()) return 0; |