cmd: Add missing \n to HelpTemplate (#5151)

This commit is contained in:
BakaFT 2022-10-17 16:51:41 +08:00 committed by GitHub
parent 1cd594963e
commit a999b70727
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ const fullDocsFooter = `Full documentation is available at:
https://caddyserver.com/docs/command-line` https://caddyserver.com/docs/command-line`
func init() { func init() {
rootCmd.SetHelpTemplate(rootCmd.HelpTemplate() + "\n" + fullDocsFooter) rootCmd.SetHelpTemplate(rootCmd.HelpTemplate() + "\n" + fullDocsFooter + "\n")
} }
func caddyCmdToCoral(caddyCmd Command) *cobra.Command { func caddyCmdToCoral(caddyCmd Command) *cobra.Command {