diff options
author | Miroslav <ttahabatt@gmail.com> | 2018-02-21 22:12:22 +0200 |
---|---|---|
committer | Miroslav <ttahabatt@gmail.com> | 2018-02-21 22:12:22 +0200 |
commit | 2edaca9141d9a5721b417d08b2908fb54b857144 (patch) | |
tree | 729e73b516d3f078ac6b4ff969ec8c36af034b6b | |
parent | 95c160ac131e235644c12795dc66b46f9b4478cd (diff) | |
download | mitmproxy-2edaca9141d9a5721b417d08b2908fb54b857144.tar.gz mitmproxy-2edaca9141d9a5721b417d08b2908fb54b857144.tar.bz2 mitmproxy-2edaca9141d9a5721b417d08b2908fb54b857144.zip |
Fix verbosity mode
-rw-r--r-- | mitmproxy/tools/main.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mitmproxy/tools/main.py b/mitmproxy/tools/main.py index 3735cbf4..290431ce 100644 --- a/mitmproxy/tools/main.py +++ b/mitmproxy/tools/main.py @@ -43,9 +43,12 @@ def process_options(parser, opts, args): if args.version: print(debug.dump_system_info()) sys.exit(0) - if args.quiet or args.options or args.commands: + if args.quiet: args.verbosity = 'error' args.flow_detail = 0 + if args.verbose: + args.verbosity = 'debug' + args.flow_detail = 3 adict = {} for n in dir(args): |