summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorBakaFT <bakaft@outlook.com>2022-10-17 16:51:41 +0800
committerGitHub <noreply@github.com>2022-10-17 11:51:41 +0300
commita999b707276dbcc9a5424c90c084923e303e5d89 (patch)
tree9363c1a189213a1a82305af12b0c6091b257b4cc /cmd
parent1cd594963eb54b011764e1172b18aabd3bde90d3 (diff)
cmd: Add missing `\n` to HelpTemplate (#5151)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cobra.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cobra.go b/cmd/cobra.go
index d2a546c..8da99ae 100644
--- a/cmd/cobra.go
+++ b/cmd/cobra.go
@@ -101,7 +101,7 @@ const fullDocsFooter = `Full documentation is available at:
https://caddyserver.com/docs/command-line`
func init() {
- rootCmd.SetHelpTemplate(rootCmd.HelpTemplate() + "\n" + fullDocsFooter)
+ rootCmd.SetHelpTemplate(rootCmd.HelpTemplate() + "\n" + fullDocsFooter + "\n")
}
func caddyCmdToCoral(caddyCmd Command) *cobra.Command {