mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Clean up help text.
This commit is contained in:
parent
166485b9a5
commit
17dfb24f7f
1
.project
1
.project
@ -3,6 +3,7 @@
|
||||
<name>libprs500</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
<project>ipython</project>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
|
@ -33,7 +33,7 @@ You may have to adjust the GROUP and the location of the rules file to
|
||||
suit your distribution.
|
||||
"""
|
||||
|
||||
__version__ = "0.3.40"
|
||||
__version__ = "0.3.41"
|
||||
__docformat__ = "epytext"
|
||||
__author__ = "Kovid Goyal <kovid@kovidgoyal.net>"
|
||||
|
||||
|
@ -69,8 +69,8 @@ def option_parser(usage):
|
||||
parser.add_option('-p', '--profile', default=PRS500_PROFILE, dest='profile', type='choice',
|
||||
choices=profiles, action='callback', callback=profile_from_string,
|
||||
help='''Profile of the target device for which this LRF is '''
|
||||
'''being generated. Default: ''' + profiles[0] + '''
|
||||
Supported profiles: '''+', '.join(profiles))
|
||||
'''being generated. Default: ''' + profiles[0] + \
|
||||
''' Supported profiles: '''+', '.join(profiles))
|
||||
debug = parser.add_option_group('DEBUG OPTIONS')
|
||||
debug.add_option('--verbose', dest='verbose', action='store_true', default=False,
|
||||
help='''Be verbose while processing''')
|
||||
|
@ -1241,9 +1241,9 @@ def parse_options(argv=None, cli=True):
|
||||
laf.add_option('--cover', action='store', dest='cover', default=None, \
|
||||
help='Path to file containing image to be used as cover')
|
||||
laf.add_option('--font-delta', action='store', type='int', default=0, \
|
||||
help="""Increase the font size by 2 * FONT_DELTA pts and
|
||||
the line spacing by FONT_DELTA pts.
|
||||
If FONT_DELTA is negative, the font size is decreased.""",
|
||||
help="""Increase the font size by 2 * FONT_DELTA pts and """
|
||||
'''the line spacing by FONT_DELTA pts. '''
|
||||
"""If FONT_DELTA is negative, the font size is decreased.""",
|
||||
dest='font_delta')
|
||||
laf.add_option('--disable-autorotation', action='store_true', default=False,
|
||||
help='Disable autorotation of images.', dest='disable_autorotation')
|
||||
|
Loading…
x
Reference in New Issue
Block a user