From 05fc67a92f1cca5829b862cdb711a5ab11f771af Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 24 Apr 2017 18:09:06 +0530 Subject: [PATCH] Get rid of calibre-debug --new-server --- src/calibre/debug.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/calibre/debug.py b/src/calibre/debug.py index 779183cf04..6b67d1cf61 100644 --- a/src/calibre/debug.py +++ b/src/calibre/debug.py @@ -85,8 +85,6 @@ Everything after the -- is passed to the script. 'calibre-debug --diff file1 file2')) parser.add_option('--default-programs', default=None, choices=['register', 'unregister'], help=_('(Un)register calibre from Windows Default Programs.') + ' --default-programs=(register|unregister)') - parser.add_option('--new-server', action='store_true', - help='Run the new calibre content server. Any options specified after a -- will be passed to the server.') return parser @@ -288,9 +286,6 @@ def main(args=sys.argv): from calibre.utils.winreg.default_programs import unregister as func print 'Running', func.__name__, '...' func() - elif opts.new_server: - from calibre.srv.standalone import main - main(args) elif opts.export_all_calibre_data: from calibre.utils.exim import run_exporter run_exporter()