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 From d33d125214fe3053f4ea7380e3f01b3f0797e260 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 28 Dec 2014 22:35:14 +1300 Subject: Documentation for config files --- libmproxy/cmdline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libmproxy/cmdline.py') diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index 054a8059..f5c66caa 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -197,7 +197,8 @@ def common_options(parser): parser.add_argument( '--shortversion', action= 'version', - version= version.VERSION + help = "show program's short version number and exit", + version = version.VERSION ) parser.add_argument( "--anticache", -- cgit v1.2.3