Skip to content

Commit

Permalink
Reorder the flags to put important ones at the top.
Browse files Browse the repository at this point in the history
  • Loading branch information
mblayman committed Sep 20, 2015
1 parent a13ad33 commit 04a8a59
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions handroll/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,20 @@ def parse_args(argv):
parser.add_argument(
'outdir', nargs='?', help=_('an optional output directory to create or'
' update if it already exists'))
parser.add_argument(
'-w', '--watch', action='store_true',
help=_('watch the site for changes and'
' run a web server in the output directory'))
parser.add_argument(
'-v', '--verbose', action='store_true', help=_('use verbose messages'))
parser.add_argument(
'-d', '--debug', action='store_true',
help=_('show debug level messages'))
parser.add_argument(
'-t', '--timing', action='store_true', help=_('time the execution'))
parser.add_argument(
'-f', '--force', action='store_true',
help=_('force composers to write output'))
parser.add_argument(
'-d', '--debug', action='store_true',
help=_('show debug level messages'))
parser.add_argument(
'-w', '--watch', action='store_true',
help=_('watch the site for changes and'
' run a web server in the output directory'))

# argparse expects the executable to be removed from argv.
args = parser.parse_args(argv[1:])
Expand Down

0 comments on commit 04a8a59

Please sign in to comment.