Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6888d2f

Browse files
committed
Minor cosmetic update
1 parent 8a92dd3 commit 6888d2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/parse/cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ def _(self, *args):
838838
if argv[i] == "-hh":
839839
argv[i] = "-h"
840840
elif argv[i] == "--version":
841-
print VERSION_STRING
841+
print VERSION_STRING.split('/')[-1]
842842
raise SystemExit
843843
elif argv[i] == "-h":
844844
advancedHelp = False

0 commit comments

Comments
 (0)