def METHOD_NAME(out, options):
    if options.verbosity < 1:
        out.write("\n".join(sorted(objects.KEYWORDS)), wrap=False)
    else:
        scopes = defaultdict(set)
        for keyword in objects.KEYWORDS.values():
            scopes[keyword.scope].add(keyword)
        for scope in reversed(sorted(scopes)):
            out.write(out.bold, f"{scope.desc.capitalize()} scope:")
            out.write()
            keywords = sorted(scopes[scope], key=attrgetter("__name__"))
            try:
                out.first_prefix.append("  ")
                out.later_prefix.append("  ")
                for keyword in keywords:
                    out.write(out.fg(keyword.color), keyword.__name__, out.reset, ":")
                    dump_docstring(out, keyword, prefix="  ")
            finally:
                out.first_prefix.pop()
                out.later_prefix.pop()