def METHOD_NAME(ohis, *, category=None) -> None:
    lines.append("")
    goal_or_subsystem = "goal" if oshi.is_goal else "subsystem"
    display_scope = f"`{oshi.scope}` {goal_or_subsystem}" if oshi.scope else "Global"
    if category:
        title = f"{display_scope} {category} options"
        lines.append(self.maybe_green(f"{title}\n{'-' * len(title)}"))
    else:
        # The basic options section gets the description and options scope info.
        # No need to repeat those in the advanced section.
        title = f"{display_scope} options"
        lines.append(self.maybe_green(f"{title}\n{'-' * len(title)}\n"))
        lines.extend(hard_wrap(oshi.description, width=self._width))
        lines.append(" ")
        lines.append(f"Activated by {self.maybe_magenta(oshi.provider)}")
        config_section = f"[{oshi.scope or 'GLOBAL'}]"
        lines.append(f"Config section: {self.maybe_magenta(config_section)}")
    lines.append(" ")
    if not ohis:
        lines.append("None available.")
        return
    for ohi in ohis:
        lines.extend([*self.format_option(ohi), ""])