From a999b707276dbcc9a5424c90c084923e303e5d89 Mon Sep 17 00:00:00 2001 From: BakaFT Date: Mon, 17 Oct 2022 16:51:41 +0800 Subject: [PATCH] cmd: Add missing `\n` to HelpTemplate (#5151) --- cmd/cobra.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cobra.go b/cmd/cobra.go index d2a546ca..8da99aee 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 {