From acbd501e848c0e1747ea15d86d8de90f453f798b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 16 May 2017 17:36:20 +0530 Subject: [PATCH] Pass arguments on when running calibre-debug -g --- src/calibre/debug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/debug.py b/src/calibre/debug.py index 8600638274..5756fedc07 100644 --- a/src/calibre/debug.py +++ b/src/calibre/debug.py @@ -250,7 +250,7 @@ def main(args=sys.argv): opts, args = option_parser().parse_args(args) if opts.gui: from calibre.gui_launch import calibre - calibre(['calibre']) + calibre(['calibre'] + args[1:]) elif opts.gui_debug is not None: run_debug_gui(opts.gui_debug) elif opts.viewer: