From b0566b9d4c85e646086b4fd10aa139176698ab23 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 17 Aug 2012 19:13:56 +0200 Subject: [PATCH] add dummy cert dir --- libmproxy/cmdline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index 9f8142a0f..57fce2c53 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -275,9 +275,9 @@ def common_options(parser): help="Replacement pattern, where the replacement clause is a path to a file." ) - group.add_option( + group.add_argument( "--dummy-certs", action="store", - type = "str", dest = "certdir", default=None, + type = str, dest = "certdir", default=None, help = "Generated dummy certs directory." )