mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
fix missing newline in help output introduced in bf480fe628
This commit is contained in:
parent
6de96b849c
commit
e784a59910
1 changed files with 2 additions and 0 deletions
|
@ -220,9 +220,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 a new issue