2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

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
parent ad7b733fc6
commit ef9b2d3ecd

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)