Fix verbosity mode

This commit is contained in:
Miroslav 2018-02-21 22:12:22 +02:00
parent 95c160ac13
commit 2edaca9141

View File

@ -43,9 +43,12 @@ def process_options(parser, opts, args):
if args.version: if args.version:
print(debug.dump_system_info()) print(debug.dump_system_info())
sys.exit(0) sys.exit(0)
if args.quiet or args.options or args.commands: if args.quiet:
args.verbosity = 'error' args.verbosity = 'error'
args.flow_detail = 0 args.flow_detail = 0
if args.verbose:
args.verbosity = 'debug'
args.flow_detail = 3
adict = {} adict = {}
for n in dir(args): for n in dir(args):