def METHOD_NAME(self, argv) -> GDALArgumentParser:
    parser = self.parser
    parser.add_argument(
        "-of",
        dest="driver_name",
        metavar="gdal_format",
        help="Select the output format. if not specified, the format is guessed from the extension. "
        "Use the short format name. "
        "Only output formats supporting pseudo-color tables should be used.",
    )
    parser.add_argument(
        "-rgba",
        dest="out_bands",
        action="store_const",
        const=4,
        default=3,
        help="Generate a RGBA file (instead of a RGB file by default).",
    )
    parser.add_argument(
        "-b",
        "-band",
        dest="band_number",
        metavar="band",
        type=int,
        default=1,
        help="Band to convert to RGB, defaults to 1.",
    )
    parser.add_argument(
        "-pct",
        dest="pct_filename",
        type=str,
        help="Extract the color table from <palette_file> instead of getting it from <source_file>. "
        "Can be used to have a consistent color table for multiple files. "
        "The palette file must be either a raster file in a GDAL supported format with a "
        "palette or a color file in a supported format (txt, qml, qlr).",
    )
    parser.add_argument("src_filename", type=str, help="The input file.")
    parser.add_argument(
        "dst_filename", type=str, help="The output RGB file that will be created."
    )
    return parser