App: add option '--pass' to ignore arguments by the application and handle them by a script

This commit is contained in:
wmayer
2022-09-29 12:30:31 +02:00
parent 642254dd95
commit 6435653355

View File

@@ -2145,6 +2145,7 @@ void parseProgramOptions(int ac, char ** av, const string& exe, variables_map& v
("module-path,M", value< vector<string> >()->composing(),"Additional module paths")
("python-path,P", value< vector<string> >()->composing(),"Additional python paths")
("single-instance", "Allow to run a single instance of the application")
("pass", value< vector<string> >()->multitoken(), "Ignores the following arguments and pass them through to be used by a script")
;