def METHOD_NAME(
    cls, show_advanced: bool, show_deprecated: bool, args: list[str], kwargs
) -> list[str]:
    parser = cls._get_parser()
    parser.register(*args, **kwargs)
    return cls._format_for_global_scope_with_parser(
        parser, show_advanced=show_advanced, show_deprecated=show_deprecated
    )