def parse_unknown_args(args):
retval = {}<EOL>preceded_by_key = False<EOL>for arg in args:<EOL><INDENT>if arg.startswith('<STR_LIT>'):<EOL><INDENT>if '<STR_LIT:=>' in arg:<EOL><INDENT>key = arg.split('<STR_LIT:=>')[<NUM_LIT:0>][<NUM_LIT:2>:]<EOL>value = arg.split('<STR_LIT:=>')[<NUM_LIT:1>]<EOL>retval[key] = value<EOL><DEDENT>else:<EOL><INDENT>key = arg[<NUM_LIT:2>:]<EOL>preceded_by_key = True<EOL><DEDENT><DEDENT>elif preceded_by_key:<EOL><INDENT>retval[key] = arg<EOL>preceded_by_key = False<EOL><DEDENT><DEDENT>return retval<EOL>
Parse arguments not consumed by arg parser into a dicitonary