diff options
author | Maximilian Hils <git@maximilianhils.com> | 2017-07-15 12:21:15 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2017-07-15 12:21:15 +0200 |
commit | af777f9b4f1f881b9dbdcd8c75e381db3d55ff9e (patch) | |
tree | 105ef347dc9300e67e9f11d969475ac82f87d71e | |
parent | 3814f171dd86ad3288f846c6f51d6b0f76c0e8f0 (diff) | |
download | mitmproxy-af777f9b4f1f881b9dbdcd8c75e381db3d55ff9e.tar.gz mitmproxy-af777f9b4f1f881b9dbdcd8c75e381db3d55ff9e.tar.bz2 mitmproxy-af777f9b4f1f881b9dbdcd8c75e381db3d55ff9e.zip |
remove `--shortversion`
this has no benefit over --version and clutters our cmdline options.
-rw-r--r-- | mitmproxy/tools/cmdline.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/mitmproxy/tools/cmdline.py b/mitmproxy/tools/cmdline.py index 97b04e74..cd62aa2c 100644 --- a/mitmproxy/tools/cmdline.py +++ b/mitmproxy/tools/cmdline.py @@ -12,15 +12,10 @@ def common_options(parser, opts): parser.add_argument( '--version', action='store_true', + help="show version number and exit", dest='version', ) parser.add_argument( - '--shortversion', - action='version', - help="show program's short version number and exit", - version=version.VERSION - ) - parser.add_argument( '--options', action='store_true', help="Show all options and their default values", |