Pass the args parameter through to parse_cmd_args

This commit is contained in:
Björn Lindqvist 2023-09-27 01:59:34 +02:00 committed by Waf Project
parent 49231ab9ff
commit 8b140fd541
1 changed files with 1 additions and 2 deletions

View File

@ -345,7 +345,7 @@ class OptionsContext(Context.Context):
:param _args: arguments
:type _args: list of strings
"""
options, commands, envvars = self.parse_cmd_args()
options, commands, envvars = self.parse_cmd_args(_args)
self.init_logs(options, commands, envvars)
self.init_module_vars(options, commands, envvars)
@ -356,4 +356,3 @@ class OptionsContext(Context.Context):
super(OptionsContext, self).execute()
self.parse_args()
Utils.alloc_process_pool(options.jobs)