forked from extern/httpie-cli
Added --version.
This commit is contained in:
parent
b728710760
commit
f5d5ec22af
@ -73,6 +73,7 @@ def _(text):
|
|||||||
|
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description=doc.strip(),)
|
parser = argparse.ArgumentParser(description=doc.strip(),)
|
||||||
|
parser.add_argument('--version', action='version', version=version)
|
||||||
|
|
||||||
# Content type.
|
# Content type.
|
||||||
#############################################
|
#############################################
|
||||||
|
Loading…
Reference in New Issue
Block a user