def METHOD_NAME(self, arg_parser: argparse.ArgumentParser):
    arg_parser.add_argument(
        "input_file", type=str, nargs="?", help="path to input file"
    )
    frontends = [name for name in self.available_frontends]
    arg_parser.add_argument(
        "-f",
        "--frontend",
        type=str,
        required=False,
        choices=frontends,
        help="Frontend to be used for the input. If not set, "
        "the xdsl frontend or the one for the file extension "
        "is used.",
    )
    arg_parser.add_argument("--disable-verify", default=False, action="store_true")
    arg_parser.add_argument(
        "--allow-unregistered-dialect",
        default=False,
        action="store_true",
        help="Allow the parsing of unregistered dialects.",
    )
    arg_parser.add_argument(
        "--no-implicit-module",
        default=False,
        action="store_true",
        help="Disable implicit addition of a top-level module op during parsing.",
    )