diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-12-29 14:56:47 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-12-29 14:56:47 +0100 |
commit | 333688b06ee029e809c2a7d10690c785e805f432 (patch) | |
tree | 20b124f2c2e33530f575fd5666394d37cbf55648 /libmproxy/cmdline.py | |
parent | 51671b22a079b49a7e208b6e67dbfc9c8d7df129 (diff) | |
parent | 55970bf0cc493b57bb08d2b10837aedc11f5ac18 (diff) | |
download | mitmproxy-333688b06ee029e809c2a7d10690c785e805f432.tar.gz mitmproxy-333688b06ee029e809c2a7d10690c785e805f432.tar.bz2 mitmproxy-333688b06ee029e809c2a7d10690c785e805f432.zip |
Merge branch 'master' of github.com:mitmproxy/mitmproxy
Diffstat (limited to 'libmproxy/cmdline.py')
-rw-r--r-- | libmproxy/cmdline.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index ec03d63e..f5c66caa 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -195,6 +195,12 @@ def common_options(parser): version= "%(prog)s" + " " + version.VERSION ) parser.add_argument( + '--shortversion', + action= 'version', + help = "show program's short version number and exit", + version = version.VERSION + ) + parser.add_argument( "--anticache", action="store_true", dest="anticache", default=False, @@ -451,9 +457,9 @@ def common_options(parser): "--replay-ignore-payload-param", action="append", dest="replay_ignore_payload_params", type=str, help=""" - Request's payload parameters (application/x-www-form-urlencoded) to - be ignored while searching for a saved flow to replay. - Can be passed multiple times. + Request's payload parameters (application/x-www-form-urlencoded) to + be ignored while searching for a saved flow to replay. + Can be passed multiple times. """ ) |