forked from mirror/cobra
fix missing newline in help output introduced in bf480fe628
This commit is contained in:
parent
6de96b849c
commit
e784a59910
|
@ -220,9 +220,11 @@ Usage: {{if .Runnable}}
|
||||||
Aliases:
|
Aliases:
|
||||||
{{.NameAndAliases}}
|
{{.NameAndAliases}}
|
||||||
{{end}}{{if .HasExample}}
|
{{end}}{{if .HasExample}}
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
{{ .Example }}
|
{{ .Example }}
|
||||||
{{end}}{{ if .HasSubCommands}}
|
{{end}}{{ if .HasSubCommands}}
|
||||||
|
|
||||||
Available Commands: {{range .Commands}}{{if .Runnable}}
|
Available Commands: {{range .Commands}}{{if .Runnable}}
|
||||||
{{rpad .Name .NamePadding }} {{.Short}}{{end}}{{end}}
|
{{rpad .Name .NamePadding }} {{.Short}}{{end}}{{end}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in New Issue