def usage_report(args): if bool(args.enable) == bool(args.disable): logger.critical("What do you want to do?") sys.exit(2) enable_usage_report(args.enable) sys.exit(0)