mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 03:43:59 +02:00
...
This commit is contained in:
parent
19581fbfc6
commit
ca5703b250
1 changed files with 2 additions and 1 deletions
|
|
@ -20,7 +20,8 @@ def option_parser(usage='''\
|
|||
Launch the Graphical User Interface
|
||||
'''):
|
||||
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.'))
|
||||
return parser
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue