Clean up help text.

This commit is contained in:
Kovid Goyal 2007-05-25 18:41:53 +00:00
parent 166485b9a5
commit 17dfb24f7f
4 changed files with 9 additions and 8 deletions

View File

@ -3,6 +3,7 @@
<name>libprs500</name>
<comment></comment>
<projects>
<project>ipython</project>
</projects>
<buildSpec>
<buildCommand>

View File

@ -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>"

View File

@ -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''')

View File

@ -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')