diff options
author | Aldo Cortesi <aldo@corte.si> | 2018-05-10 11:39:55 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2018-05-10 11:40:33 +1200 |
commit | 9830e5b597ffbfae1781eb486c8cd8b0ba3c5dc7 (patch) | |
tree | 50e314493c7d17f01f4440f4798c5dc8bfd02be4 /mitmproxy/options.py | |
parent | 3438912236a25d7d3bcbff3238156b9eae2bc3d5 (diff) | |
download | mitmproxy-9830e5b597ffbfae1781eb486c8cd8b0ba3c5dc7.tar.gz mitmproxy-9830e5b597ffbfae1781eb486c8cd8b0ba3c5dc7.tar.bz2 mitmproxy-9830e5b597ffbfae1781eb486c8cd8b0ba3c5dc7.zip |
cadir -> confdir
We store a lot more than just the CAs in our configuration directory. Clarify
the option name.
Diffstat (limited to 'mitmproxy/options.py')
-rw-r--r-- | mitmproxy/options.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mitmproxy/options.py b/mitmproxy/options.py index ce7597a8..047a44cd 100644 --- a/mitmproxy/options.py +++ b/mitmproxy/options.py @@ -4,7 +4,7 @@ from mitmproxy import optmanager from mitmproxy.net import tls -CA_DIR = "~/.mitmproxy" +CONF_DIR = "~/.mitmproxy" LISTEN_PORT = 8080 @@ -30,8 +30,8 @@ class Options(optmanager.OptManager): """ ) self.add_option( - "cadir", str, CA_DIR, - "Location of the default mitmproxy CA files." + "confdir", str, CONF_DIR, + "Location of the default mitmproxy configuration files." ) self.add_option( "certs", Sequence[str], [], @@ -143,7 +143,7 @@ class Options(optmanager.OptManager): "Do not verify upstream server SSL/TLS certificates." ) self.add_option( - "ssl_verify_upstream_trusted_cadir", Optional[str], None, + "ssl_verify_upstream_trusted_confdir", Optional[str], None, """ Path to a directory of trusted CA certificates for upstream server verification prepared using the c_rehash tool. |