Skip to content

Commit

Permalink
Argparse needs store_true
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmiller committed Dec 16, 2015
1 parent a0f8c6a commit 24fe7d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/opal
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def main():
'-t', '--test', help='Test case or method to run'
)
parser_test.add_argument(
'-c', '--coverage', help='Generate a test coverage report'
'-c', '--coverage', action='store_true', help='Generate a test coverage report'
)
parser_test.set_defaults(func=test)

Expand Down

0 comments on commit 24fe7d5

Please sign in to comment.