summaryrefslogtreecommitdiffstats
diff options
authorDominik Holland <dominik.holland@qt.io>2025-02-04 17:07:40 +0100
committerDominik Holland <dominik.holland@qt.io>2025-02-04 16:13:35 +0000
commit92ee96905ee914295f31590ec67595bea97a613a (patch)
treea546696ac9557e7bdf03b4dd69de0536454b8390
parentf912b6244dbb5d8916c0bb2d317b2bb9914a772a (diff)
Introduce a new "--no-wrapper" command-line flagHEADdev
Change-Id: Ie591d109d5d3bbbb862e54e1c35c49a13f694be4 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
-rw-r--r--main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 496f3f1..6f05471 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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;