add -V alias for --version

This commit is contained in:
hroff-1902
2019-07-18 12:12:34 +03:00
parent e126c55a5a
commit 50d2950e6b
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ AVAILABLE_CLI_OPTIONS = {
metavar='FILE',
),
"version": Arg(
'--version',
'-V', '--version',
action='version',
version=f'%(prog)s {__version__}',
),