mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
3c9b6b9ec7
commit
8c65ce8726
@ -207,7 +207,7 @@ def opt_to_cli_help(opt):
|
||||
|
||||
|
||||
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user