def _init_command_line_options():
description = """<STR_LIT>"""nsed under the MIT license.<EOL>https://github.com/mar10/wsgidav for additional information.<EOL>parser = argparse.ArgumentParser(<EOL>prog="<STR_LIT>",<EOL>description=description,<EOL>epilog=epilog,<EOL>formatter_class=argparse.RawTextHelpFormatter,<EOL>)<EOL>parser.add_argument(<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>dest="<STR_LIT:port>",<EOL>type=int,<EOL>help="<STR_LIT>",<EOL>)<EOL>parser.add_argument(<EOL>"<STR_LIT>",  <EOL>"<STR_LIT>",<EOL>dest="<STR_LIT:host>",<EOL>help=(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>),<EOL>),<EOL>parser.add_argument(<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>dest="<STR_LIT>",<EOL>action=FullExpandedPath,<EOL>help="<STR_LIT>",<EOL>)<EOL>parser.add_argument(<EOL>"<STR_LIT>",<EOL>choices=("<STR_LIT>", "<STR_LIT>", "<STR_LIT>"),<EOL>help="<STR_LIT>"<EOL>"<STR_LIT>",<EOL>)<EOL>parser.add_argument(<EOL>"<STR_LIT>",<EOL>choices=SUPPORTED_SERVERS.keys(),<EOL>help="<STR_LIT>",<EOL>)<EOL>parser.add_argument(<EOL>"<STR_LIT>",<EOL>choices=("<STR_LIT>", "<STR_LIT>"),<EOL>help="<STR_LIT>"<EOL>"<STR_LIT>",<EOL>)<EOL>qv_group = parser.add_mutually_exclusive_group()<EOL>qv_group.add_argument(<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>action="<STR_LIT:count>",<EOL>default=<NUM_LIT:3>,<EOL>help="<STR_LIT>",<EOL>)<EOL>qv_group.add_argument(<EOL>"<STR_LIT>", "<STR_LIT>", default=<NUM_LIT:0>, action="<STR_LIT:count>", help="<STR_LIT>"<EOL>)<EOL>qv_group = parser.add_mutually_exclusive_group()<EOL>qv_group.add_argument(<EOL>"<STR_LIT:-c>",<EOL>"<STR_LIT>",<EOL>dest="<STR_LIT>",<EOL>action=FullExpandedPath,<EOL>help=(<EOL>"<STR_LIT>".format(<EOL>DEFAULT_CONFIG_FILES<EOL>)<EOL>),<EOL>)<EOL>qv_group.add_argument(<EOL>"<STR_LIT>",<EOL>action="<STR_LIT:store_true>",<EOL>dest="<STR_LIT>",<EOL>help="<STR_LIT>".format(DEFAULT_CONFIG_FILES),<EOL>)<EOL>parser.add_argument(<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>action="<STR_LIT:store_true>",<EOL>help="<STR_LIT>",<EOL>)<EOL>args = parser.parse_args()<EOL>args.verbose -= args.quiet<EOL>del args.quiet<EOL>if args.root_path and not os.path.isdir(args.root_path):<EOL><INDENT>msg = "<STR_LIT>".format(args.root_path)<EOL>raise parser.error(msg)<EOL><DEDENT>if args.version:<EOL><INDENT>if args.verbose >= <NUM_LIT:4>:<EOL><INDENT>msg = "<STR_LIT>".format(<EOL>__version__, util.PYTHON_VERSION, platform.platform(aliased=True)<EOL>)<EOL><DEDENT>else:<EOL><INDENT>msg = "<STR_LIT:{}>".format(__version__)<EOL><DEDENT>print(msg)<EOL>sys.exit()<EOL><DEDENT>if args.no_config:<EOL><INDENT>pass<EOL><DEDENT>elif args.config_file is None:<EOL><INDENT>for filename in DEFAULT_CONFIG_FILES:<EOL><INDENT>defPath = os.path.abspath(filename)<EOL>if os.path.exists(defPath):<EOL><INDENT>if args.verbose >= <NUM_LIT:3>:<EOL><INDENT>print("<STR_LIT>".format(defPath))<EOL><DEDENT>args.config_file = defPath<EOL>break<EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>args.config_file = os.path.abspath(args.config_file)<EOL>if not os.path.isfile(args.config_file):<EOL><INDENT>parser.error(<EOL>"<STR_LIT>".format(<EOL>args.config_file<EOL>)<EOL>)<EOL><DEDENT><DEDENT>cmdLineOpts = args.__dict__.copy()<EOL>if args.verbose >= <NUM_LIT:5>:<EOL><INDENT>print("<STR_LIT>")<EOL>for k, v in cmdLineOpts.items():<EOL><INDENT>print("<STR_LIT>".format(k, v))<EOL><DEDENT><DEDENT>return cmdLineOpts, parser<EOL>
Parse command line options into a dictionary.