diff --git a/httpie/cli.py b/httpie/cli.py index 10c98a85..36c86407 100644 --- a/httpie/cli.py +++ b/httpie/cli.py @@ -73,6 +73,7 @@ def _(text): parser = argparse.ArgumentParser(description=doc.strip(),) +parser.add_argument('--version', action='version', version=version) # Content type. #############################################