def parse_args(parser):
args = parser.parse_args()<EOL>if args.q:<EOL><INDENT>logging.getLogger().disabled = True<EOL>sys.stdout = sys.stderr = open(os.devnull, "<STR_LIT:w>")<EOL><DEDENT>if args.a:<EOL><INDENT>util.Color.alpha_num = args.a<EOL><DEDENT>if args.i:<EOL><INDENT>image_file = image.get(args.i, iterative=args.iterative)<EOL>colors_plain = colors.get(image_file, args.l, args.backend,<EOL>sat=args.saturate)<EOL><DEDENT>if args.theme:<EOL><INDENT>colors_plain = theme.file(args.theme, args.l)<EOL><DEDENT>if args.R:<EOL><INDENT>colors_plain = theme.file(os.path.join(CACHE_DIR, "<STR_LIT>"))<EOL><DEDENT>if args.b:<EOL><INDENT>args.b = "<STR_LIT>" % (args.b.strip("<STR_LIT:#>"))<EOL>colors_plain["<STR_LIT>"]["<STR_LIT>"] = args.b<EOL>colors_plain["<STR_LIT>"]["<STR_LIT>"] = args.b<EOL><DEDENT>if not args.n:<EOL><INDENT>wallpaper.change(colors_plain["<STR_LIT>"])<EOL><DEDENT>sequences.send(colors_plain, to_send=not args.s, vte_fix=args.vte)<EOL>if sys.stdout.isatty():<EOL><INDENT>colors.palette()<EOL><DEDENT>export.every(colors_plain)<EOL>if not args.e:<EOL><INDENT>reload.env(tty_reload=not args.t)<EOL><DEDENT>if args.o:<EOL><INDENT>for cmd in args.o:<EOL><INDENT>util.disown([cmd])<EOL><DEDENT><DEDENT>if not args.e:<EOL><INDENT>reload.gtk()<EOL><DEDENT>
Process args.