We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents beb8945 + 0a03e2d commit b35c9bfCopy full SHA for b35c9bf
1 file changed
openage/__main__.py
@@ -127,7 +127,7 @@ def main(argv=None):
127
"codegen",
128
parents=[global_cli]))
129
130
- args = cli.parse_args(argv)
+ args, remaining_args = cli.parse_known_args(argv)
131
132
dll_manager = None
133
if sys.platform == 'win32':
@@ -139,7 +139,7 @@ def main(argv=None):
139
140
if not args.subcommand:
141
# the user didn't specify a subcommand. default to 'main'.
142
- args = main_cli.parse_args(argv)
+ args = main_cli.parse_args(remaining_args)
143
144
args.dll_manager = dll_manager
145
0 commit comments