def METHOD_NAME(self, parser):
    run_subcommand_parser = parser.subcommands.choices.get("run", None)
    if run_subcommand_parser is None:
        return
    msg = "resultsdb options"
    parser = run_subcommand_parser.add_argument_group(msg)
    help_msg = "Specify the resultsdb API url"
    settings.register_option(
        section="plugins.resultsdb",
        key="api_url",
        default=None,
        help_msg=help_msg,
        parser=parser,
        long_arg="--resultsdb-api",
        metavar="API_URL",
    )
    help_msg = "Specify the URL where the logs are published"
    settings.register_option(
        section="plugins.resultsdb",
        key="logs_url",
        default=None,
        help_msg=help_msg,
        parser=parser,
        long_arg="--resultsdb-logs",
        metavar="LOGS_URL",
    )
    help_msg = "Maximum note size limit"
    settings.register_option(
        section="plugins.resultsdb",
        key="note_size_limit",
        default=0,
        key_type=int,
        help_msg=help_msg,
        parser=parser,
        long_arg="--resultsdb-note-limit",
        metavar="SIZE_LIMIT",
    )