diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2017-03-05 20:10:06 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2017-03-05 20:16:33 +1300 |
commit | f15a6285613540e031b004b726799dd6edee5a27 (patch) | |
tree | 810ab7ac3c450415bdd83e864ba4704ce2e66fe5 /README.rst | |
parent | 67381ae550a5d57c1f2841cd7118550afdfaa736 (diff) | |
download | mitmproxy-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 'README.rst')
0 files changed, 0 insertions, 0 deletions