mirror of https://github.com/spf13/cobra.git
fix missing newline in help output introduced in bf480fe628
This commit is contained in:
parent
9e7273d546
commit
b6faef729e
|
@ -212,9 +212,11 @@ Usage: {{if .Runnable}}
|
|||
Aliases:
|
||||
{{.NameAndAliases}}
|
||||
{{end}}{{if .HasExample}}
|
||||
|
||||
Examples:
|
||||
{{ .Example }}
|
||||
{{end}}{{ if .HasSubCommands}}
|
||||
|
||||
Available Commands: {{range .Commands}}{{if .Runnable}}
|
||||
{{rpad .Name .NamePadding }} {{.Short}}{{end}}{{end}}
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in New Issue