Add a --version parameter.

This commit is contained in:
Julien Palard 2019-03-14 22:05:03 +01:00
parent 613699e203
commit 53327c4b5e

View File

@ -3,6 +3,7 @@
"""Fix style of uncommited po files, or all if --all is given.
"""
from powrap import __version__
from shlex import quote
from subprocess import check_output, run
@ -50,6 +51,9 @@ def main():
parser.add_argument(
"--quiet", "-q", action="store_true", help="Do not show progress bar."
)
parser.add_argument(
"--version", action="version", version="%(prog)s " + __version__
)
parser.add_argument(
"--no-wrap",
action="store_true",