OP-3426 - don't remove from sys.args

Cli should have automatic_tests argument even if it is not pushed through, just for better documentation of command with --help
This commit is contained in:
Petr Kalis 2022-10-19 15:15:03 +02:00
parent fde0a02621
commit 8f3b6e5c0e

View file

@ -572,7 +572,6 @@ def _process_arguments() -> tuple:
sys.argv.insert(idx, "tray")
if "--automatic_tests" in sys.argv:
sys.argv.remove("--automatic_tests")
automatic_tests = True
return use_version, use_staging, commands, automatic_tests