Skip to content

Commit

Permalink
lowered first character of help descriptions to be consistent with --…
Browse files Browse the repository at this point in the history
…help flag description added by argparse
  • Loading branch information
coleslaw481 committed Apr 3, 2017
1 parent 717e203 commit e160a14
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions chmutil/checkchmjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,32 +34,32 @@ def _parse_arguments(desc, args):
help_formatter = argparse.RawDescriptionHelpFormatter
parser = argparse.ArgumentParser(description=desc,
formatter_class=help_formatter)
parser.add_argument("jobdir", help='Directory containing ' +
parser.add_argument("jobdir", help='directory containing ' +
CHMJobCreator.CONFIG_FILE_NAME +
' file')

bmerge = CHMJobCreator.MERGE_CONFIG_BATCHED_TASKS_FILE_NAME
batchchm = CHMJobCreator.CONFIG_BATCHED_TASKS_FILE_NAME
parser.add_argument(SUBMIT_FLAG, action="store_true",
help='Rewrite {batchchm}'
help='rewrite {batchchm}'
'and {batchmerge} files with any'
'jobs that need to still be'
'processed. WARNING: Do NOT add this'
'flag if tasks are still running,'
'since key configuration files '
' flag if tasks are still running,'
' since key configuration files '
'will be '
'rewritten.'.format(batchchm=batchchm,
batchmerge=bmerge))

parser.add_argument(DETAILED_FLAG, action="store_true",
help='Output detailed summary '
help='output detailed summary '
'information for job')
parser.add_argument("--skipchm", action="store_true",
help='Skips examination of CHM jobs. This will'
'mean stats on CHM jobs will be invalid')
help='skips examination of CHM jobs. This will'
' mean stats on CHM jobs will be invalid')
parser.add_argument("--log", dest="loglevel", choices=['DEBUG',
'INFO', 'WARNING', 'ERROR', 'CRITICAL'],
help="Set the logging level (default WARNING)",
help="set the logging level (default WARNING)",
default='WARNING')
parser.add_argument('--version', action='version',
version=('%(prog)s ' + chmutil.__version__))
Expand Down

0 comments on commit e160a14

Please sign in to comment.