mirror of https://gitlab.com/ita1024/waf.git
Set Logs.verbose from options (regression from be05b6ee8b
)
This commit is contained in:
parent
74204e57e0
commit
1354a37255
|
@ -302,6 +302,7 @@ class OptionsContext(Context.Context):
|
|||
os.environ[name.strip()] = value
|
||||
|
||||
def init_logs(self, options, commands, envvars):
|
||||
Logs.verbose = options.verbose
|
||||
if options.verbose >= 1:
|
||||
self.load('errcheck')
|
||||
|
||||
|
|
Loading…
Reference in New Issue