This commit is contained in:
Kovid Goyal 2017-05-04 16:48:17 +05:30
parent 3c9b6b9ec7
commit 8c65ce8726
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -207,7 +207,7 @@ def opt_to_cli_help(opt):
def bool_callback(option, opt_str, value, parser, *args, **kwargs): def bool_callback(option, opt_str, value, parser, *args, **kwargs):
setattr(parser.values, option.dest, opt_str.startswith('--enable')) setattr(parser.values, option.dest, opt_str.startswith('--enable-'))
def boolean_option(add_option, opt): def boolean_option(add_option, opt):