mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
19581fbfc6
commit
ca5703b250
@ -20,7 +20,8 @@ Usage: %prog [options]
|
|||||||
Launch the Graphical User Interface
|
Launch the Graphical User Interface
|
||||||
'''):
|
'''):
|
||||||
parser = OptionParser(usage)
|
parser = OptionParser(usage)
|
||||||
parser.add_option('--redirect-console-output', default=False, action='store_true', dest='redirect',
|
# The b is required because of a regression in optparse.py in python 2.7.0
|
||||||
|
parser.add_option(b'--redirect-console-output', default=False, action='store_true', dest='redirect',
|
||||||
help=_('Redirect console output to a dialog window (both stdout and stderr). Useful on windows where GUI apps do not have a output streams.'))
|
help=_('Redirect console output to a dialog window (both stdout and stderr). Useful on windows where GUI apps do not have a output streams.'))
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user