mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Pass arguments on when running calibre-debug -g
This commit is contained in:
parent
5a65ae3d94
commit
acbd501e84
@ -250,7 +250,7 @@ def main(args=sys.argv):
|
|||||||
opts, args = option_parser().parse_args(args)
|
opts, args = option_parser().parse_args(args)
|
||||||
if opts.gui:
|
if opts.gui:
|
||||||
from calibre.gui_launch import calibre
|
from calibre.gui_launch import calibre
|
||||||
calibre(['calibre'])
|
calibre(['calibre'] + args[1:])
|
||||||
elif opts.gui_debug is not None:
|
elif opts.gui_debug is not None:
|
||||||
run_debug_gui(opts.gui_debug)
|
run_debug_gui(opts.gui_debug)
|
||||||
elif opts.viewer:
|
elif opts.viewer:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user