From 0cc8c44c22304a92425c5eccdda455919a35c221 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 28 Dec 2014 15:07:44 +1300 Subject: Minor improvements to osx binary build process - Add --shortversion on tools to make packaging easier - Automate tarfile generation --- libmproxy/cmdline.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'libmproxy/cmdline.py') diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index ec03d63e..054a8059 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -194,6 +194,11 @@ def common_options(parser): action= 'version', 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. """ ) -- cgit v1.2.3