From 8c65ce8726efb3bd812dec5fe65ae347af30a235 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 4 May 2017 16:48:17 +0530 Subject: [PATCH] ... --- src/calibre/srv/opts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/srv/opts.py b/src/calibre/srv/opts.py index 6713064ed0..c99e826e26 100644 --- a/src/calibre/srv/opts.py +++ b/src/calibre/srv/opts.py @@ -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):