mirror of
https://github.com/httpie/cli.git
synced 2024-11-28 08:38:44 +02:00
Added --version.
This commit is contained in:
parent
b728710760
commit
f5d5ec22af
@ -73,6 +73,7 @@ def _(text):
|
||||
|
||||
|
||||
parser = argparse.ArgumentParser(description=doc.strip(),)
|
||||
parser.add_argument('--version', action='version', version=version)
|
||||
|
||||
# Content type.
|
||||
#############################################
|
||||
|
Loading…
Reference in New Issue
Block a user