Print defaults of enable configure options in help
This commit is contained in:
parent
b8cbfe2fce
commit
84c5e08515
1 changed files with 3 additions and 2 deletions
5
wscript
5
wscript
|
@ -330,8 +330,9 @@ def set_options (opt):
|
|||
if group == None:
|
||||
group = opt
|
||||
option_ = option.replace ('-', '_')
|
||||
group.add_option ('--enable-' + option, action='store_true',
|
||||
default=False, help='Enable ' + desc, dest='enable_' + option_)
|
||||
group.add_option ('--enable-' + option, action='store_true', default=False,
|
||||
help='Enable ' + desc + ' [Default: ' + str (not disable) + ']',
|
||||
dest='enable_' + option_)
|
||||
group.add_option ('--disable-' + option, action='store_true',
|
||||
default=disable, help='Disable ' + desc, dest='disable_' + option_)
|
||||
|
||||
|
|
Loading…
Reference in a new issue