diff options
author | Matthew Shao <me@matshao.com> | 2017-08-01 09:01:31 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-08-01 09:01:31 +0800 |
commit | f078808fc60e3c4755bdcc664fac9518c52c7692 (patch) | |
tree | 0e980bf0cc4a2ee5eddab045afe9faa015c27842 | |
parent | 2ceaa5c9efd3bbbb7fdb6b0d3ebdb8de32305f92 (diff) | |
download | mitmproxy-f078808fc60e3c4755bdcc664fac9518c52c7692.tar.gz mitmproxy-f078808fc60e3c4755bdcc664fac9518c52c7692.tar.bz2 mitmproxy-f078808fc60e3c4755bdcc664fac9518c52c7692.zip |
Adjust --verbose options to string type.
-rw-r--r-- | mitmproxy/tools/cmdline.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/tools/cmdline.py b/mitmproxy/tools/cmdline.py index 68ddc2c8..f919486b 100644 --- a/mitmproxy/tools/cmdline.py +++ b/mitmproxy/tools/cmdline.py @@ -48,7 +48,7 @@ def common_options(parser, opts): ) parser.add_argument( "-v", "--verbose", - action="store_const", dest="verbose", const=3, + action="store_const", dest="verbose", const='debug', help="Increase log verbosity." ) |