def METHOD_NAME() -> argparse.ArgumentParser:
    """Specifies Command Line argument parsing.
    Gives help info when running this file as to what arguments needed, etc.
    Adds optional flags to change execution of code.
    Returns
    -------
    parser : argparse.ArgumentParser
        arguments passed in stored with easily accessible
        variable names, can be accessed by calling parse_args on it.
    """
    parser = argparse.ArgumentParser(description="Host and Server Information")
    parser.add_argument(
        "es_host", action="store", type=str, help="Elasticsearch host name"
    )
    parser.add_argument(
        "es_port", action="store", type=int, help="Elasticsearch port number"
    )
    parser.add_argument(
        "url_prefix",
        action="store",
        type=str,
        help="Pbench server url prefix to extract host and disk names",
    )
    parser.add_argument(
        "sos_host_server",
        action="store",
        type=str,
        help="Sosreport host server to access sosreport info",
    )
    parser.add_argument(
        "--cpu",
        action="store",
        dest="cpu_n",
        type=int,
        default=0,
        help="Number of CPUs to be used",
    )
    parser.add_argument(
        "--limit",
        action="store",
        dest="record_limit",
        type=int,
        default=-1,
        help="Number of desired acceptable results for processing",
    )  # Temporarily used -1 as default and it meaning all
    parser.add_argument(
        "--profile",
        action="store_true",
        dest="profile_memory_usage",
        help="Want memory usage profile",
    )
    parser.add_argument(
        "--months_s",
        action="store",
        dest="start_months_prior",
        type=int,
        default=12,  # default to 12 months worth of data
        help="Number of months prior to now at which to start data collection",
    )
    parser.add_argument(
        "--months_e",
        action="store",
        dest="end_months_prior",
        type=int,
        default=0,  # setting so have usable data for testing
        help="Number of months prior to now at which to end data collection",
    )
    return parser