From 64356533550826569ee5a9bed3c6c3885459ca55 Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 29 Sep 2022 12:30:31 +0200 Subject: [PATCH] App: add option '--pass' to ignore arguments by the application and handle them by a script --- src/App/Application.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index 9be316acd7..a3c76a0153 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -2145,6 +2145,7 @@ void parseProgramOptions(int ac, char ** av, const string& exe, variables_map& v ("module-path,M", value< vector >()->composing(),"Additional module paths") ("python-path,P", value< vector >()->composing(),"Additional python paths") ("single-instance", "Allow to run a single instance of the application") + ("pass", value< vector >()->multitoken(), "Ignores the following arguments and pass them through to be used by a script") ;