diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2014-12-28 15:07:44 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2014-12-28 15:07:44 +1300 |
commit | 0cc8c44c22304a92425c5eccdda455919a35c221 (patch) | |
tree | 11f371aa422fcb5fbb4b6fc6ce561b64ad5d0f01 /libmproxy | |
parent | ab06c2436be23c9bfbf3af924f0117ecdb6724b4 (diff) | |
download | mitmproxy-0cc8c44c22304a92425c5eccdda455919a35c221.tar.gz mitmproxy-0cc8c44c22304a92425c5eccdda455919a35c221.tar.bz2 mitmproxy-0cc8c44c22304a92425c5eccdda455919a35c221.zip |
Minor improvements to osx binary build process
- Add --shortversion on tools to make packaging easier
- Automate tarfile generation
Diffstat (limited to 'libmproxy')
-rw-r--r-- | libmproxy/cmdline.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index ec03d63e..054a8059 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -195,6 +195,11 @@ def common_options(parser): version= "%(prog)s" + " " + version.VERSION ) parser.add_argument( + '--shortversion', + action= 'version', + version= version.VERSION + ) + parser.add_argument( "--anticache", action="store_true", dest="anticache", default=False, @@ -451,9 +456,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. """ ) |