Skip to content

Commit

Permalink
Add version option
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Fraser committed Jun 14, 2019
1 parent 2035fc8 commit 70e8812
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions asfv1.py
Original file line number Diff line number Diff line change
Expand Up @@ -1203,6 +1203,10 @@ def main():
parser.add_argument('-q', '--quiet',
action='store_true',
help='suppress warnings')
parser.add_argument('-v', '--version',
action='version',
help='print version',
version='%(prog)s ' + VERSION)
parser.add_argument('-c', '--clamp',
action='store_true',
help='clamp out of range values without error')
Expand Down

0 comments on commit 70e8812

Please sign in to comment.