mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-16 21:56:40 -05:00
cmd: Add newline character to version string in CLI output (#5895)
This commit is contained in:
parent
7c82e265da
commit
24b0ecc310
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue