From 2e1bee1bda3fdf36c82ab9ae00863627e55a4a66 Mon Sep 17 00:00:00 2001 From: J Logan Date: Thu, 17 Jul 2025 22:10:03 -0700 Subject: [PATCH] Fix subcommand groups in top level help. (#351) - Closes #349. --- Sources/ContainerPlugin/PluginLoader.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/Sources/ContainerPlugin/PluginLoader.swift b/Sources/ContainerPlugin/PluginLoader.swift index 7a3f8449..5f6fd9b1 100644 --- a/Sources/ContainerPlugin/PluginLoader.swift +++ b/Sources/ContainerPlugin/PluginLoader.swift @@ -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") }