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: