mirror of https://gitlab.com/ita1024/waf.git
Pass the args parameter through to parse_cmd_args
This commit is contained in:
parent
49231ab9ff
commit
8b140fd541
|
@ -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