Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 12, 22:00 UTC
cmd: Add newline character to version string in CLI output (#5895)
Thanmay Nath committed
Oct 16, 2023 at 21:28 UTC
24b0ecc310d71290ee004f7eaf364dce515eaff9
1 file changed
+1
-1
cmd/cobra.go
+1
-1
@@ -106,7 +106,7 @@ const fullDocsFooter = `Full documentation is available at:
106
https://caddyserver.com/docs/command-line`
107
108
func init() {
109
- rootCmd.SetVersionTemplate("{{.Version}}")
109
+ rootCmd.SetVersionTemplate("{{.Version}}\n")
110
rootCmd.SetHelpTemplate(rootCmd.HelpTemplate() + "\n" + fullDocsFooter + "\n")
111
}
112