Skip to content

Commit

Permalink
add defaults to help message
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverba137 committed Jan 17, 2017
1 parent e5de155 commit 14891ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hpsspy/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ def main():
parser.add_argument('-c', '--cache-dir', action='store', dest='cache',
metavar='DIR',
default=join(environ['HOME'], 'scratch'),
help='Write cache files to DIR.')
help=('Write cache files to DIR (Default: '+
'%(default)s).'))
parser.add_argument('-D', '--clobber-disk', action='store_true',
dest='clobber_disk',
help='Ignore any existing disk cache files.')
Expand All @@ -355,7 +356,7 @@ def main():
parser.add_argument('-r', '--report', action='store', type=int,
dest='report', metavar='N', default=10000,
help=("Print an informational message after " +
"every N files."))
"every N files (Default: %(default)s)."))
parser.add_argument('-v', '--verbose', action='store_true',
dest='verbose',
help="Increase verbosity.")
Expand Down

0 comments on commit 14891ec

Please sign in to comment.