diff --git a/cmd/cobra.go b/cmd/cobra.go index c071f4a18c9..d43b4372906 100644 --- a/cmd/cobra.go +++ b/cmd/cobra.go @@ -106,7 +106,7 @@ const fullDocsFooter = `Full documentation is available at: https://caddyserver.com/docs/command-line` func init() { - rootCmd.SetVersionTemplate("{{.Version}}") + rootCmd.SetVersionTemplate("{{.Version}}\n") rootCmd.SetHelpTemplate(rootCmd.HelpTemplate() + "\n" + fullDocsFooter + "\n") }