You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2026-05-22 10:15:44 +02:00
Added --version.
This commit is contained in:
@@ -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.
|
||||||
#############################################
|
#############################################
|
||||||
|
|||||||
Reference in New Issue
Block a user