Skip to content

Commit 3f6e53a

Browse files
authored
Merge pull request #272 from alanbuxey/patch-5
Update constants.py to allow -v to work
2 parents be14a18 + b23b0ab commit 3f6e53a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyff/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def parse_options(program, docs):
536536
if o in ('-h', '--help'):
537537
print(docs)
538538
sys.exit(0)
539-
elif o in ('--version',):
539+
elif o in ('-v', '--version'):
540540
print("{} version {}".format(program, pyff_version))
541541
sys.exit(0)
542542
elif o in ('-A', '--alias'):

0 commit comments

Comments
 (0)