Skip to content

Commit

Permalink
Merge pull request #1737 from jere8184/suppress_add_dll_search_path
Browse files Browse the repository at this point in the history
Suppress "--add_dll_search_path" in sub-parser
  • Loading branch information
heinezen authored Dec 31, 2024
2 parents beb8945 + 0a03e2d commit b35c9bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openage/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def main(argv=None):
"codegen",
parents=[global_cli]))

args = cli.parse_args(argv)
args, remaining_args = cli.parse_known_args(argv)

dll_manager = None
if sys.platform == 'win32':
Expand All @@ -139,7 +139,7 @@ def main(argv=None):

if not args.subcommand:
# the user didn't specify a subcommand. default to 'main'.
args = main_cli.parse_args(argv)
args = main_cli.parse_args(remaining_args)

args.dll_manager = dll_manager

Expand Down

0 comments on commit b35c9bf

Please sign in to comment.