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:
parent
ad7b733fc6
commit
ef9b2d3ecd
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user