aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2017-03-05 20:10:06 +1300
committerAldo Cortesi <aldo@nullcube.com>2017-03-05 20:16:33 +1300
commitf15a6285613540e031b004b726799dd6edee5a27 (patch)
tree810ab7ac3c450415bdd83e864ba4704ce2e66fe5 /tox.ini
parent67381ae550a5d57c1f2841cd7118550afdfaa736 (diff)
downloadmitmproxy-f15a6285613540e031b004b726799dd6edee5a27.tar.gz
mitmproxy-f15a6285613540e031b004b726799dd6edee5a27.tar.bz2
mitmproxy-f15a6285613540e031b004b726799dd6edee5a27.zip
Start unifying options and the command-line: booleans
This commit: - Adds a help field to options - Adds a function to generate parser definitions from options - Uses this to migrate all boolean flags over to the new system - Makes all booleans consistently follow the --foo/--not-foo convention There are a number of things left to be done here: - Argparse doesn't give us a nice way to format --foo --not-foo help. Click does, and moving to click is a goal down the track. - For now, we remove all short aliases. I want to re-evaluate these systematically once we have the new structure in place.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 4994b119..a9904e87 100644
--- a/tox.ini
+++ b/tox.ini
@@ -30,6 +30,7 @@ commands =
mypy --ignore-missing-imports --follow-imports=skip \
mitmproxy/addons/ \
mitmproxy/addonmanager.py \
+ mitmproxy/optmanager.py \
mitmproxy/proxy/protocol/ \
mitmproxy/log.py \
mitmproxy/tools/dump.py \