From 2edaca9141d9a5721b417d08b2908fb54b857144 Mon Sep 17 00:00:00 2001 From: Miroslav Date: Wed, 21 Feb 2018 22:12:22 +0200 Subject: [PATCH] Fix verbosity mode --- mitmproxy/tools/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mitmproxy/tools/main.py b/mitmproxy/tools/main.py index 3735cbf44..290431ce1 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):