def main(args=None):
<EOL>parser = argparse.ArgumentParser(description=__doc__)<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT:version>",<EOL>version=__version__,<EOL>help="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", action="<STR_LIT:store_true>", default=False,<EOL>help="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT>", "<STR_LIT>", type=str, action="<STR_LIT:store>",<EOL>default=r"<STR_LIT>",<EOL>help="<STR_LIT>")<EOL>parser.add_argument("<STR_LIT:input>", help="<STR_LIT>",<EOL>nargs="<STR_LIT:*>")<EOL>args = parser.parse_args(args)<EOL>input_ = "<STR_LIT:U+0020>".join(args.input)<EOL>output = tconvert(input_)<EOL>if isinstance(output, datetime.datetime):<EOL><INDENT>output = output.replace(tzinfo=tz.tzutc())<EOL>if args.local:<EOL><INDENT>output = output.astimezone(tz.tzlocal())<EOL><DEDENT>print(output.strftime(args.format))<EOL><DEDENT>else:<EOL><INDENT>print(output)<EOL><DEDENT>
Parse command-line arguments, tconvert inputs, and print