Fix subcommand groups in top level help. (#351)

- Closes #349.
This commit is contained in:
J Logan
2025-07-17 22:10:03 -07:00
committed by GitHub
parent cc91ad7bf5
commit 2e1bee1bda
@@ -60,7 +60,6 @@ extension PluginLoader {
}
var lines = original.split(separator: "\n").map { String($0) }
let footer = String(lines.removeLast())
let sectionHeader = "PLUGINS:"
lines.append(sectionHeader)
@@ -69,8 +68,6 @@ extension PluginLoader {
let helpText = plugin.helpText(padding: 24)
lines.append(helpText)
}
lines.append("")
lines.append(footer)
return lines.joined(separator: "\n")
}