mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-23 08:50:16 +01:00
return the value of opt.add_option()
This commit is contained in:
parent
5d6c12be1f
commit
cf773b89de
@ -193,7 +193,7 @@ class OptionsContext(Context.Context):
|
||||
ctx.add_option('-u', '--use', dest='use', default=False, action='store_true',
|
||||
help='a boolean option')
|
||||
"""
|
||||
self.parser.add_option(*k, **kw)
|
||||
return self.parser.add_option(*k, **kw)
|
||||
|
||||
def add_option_group(self, *k, **kw):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user