mirror of
https://github.com/spf13/cobra
synced 2024-11-24 22:57:12 +00:00
Added padding to template
This commit is contained in:
parent
b415b76121
commit
f7cf027053
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ Aliases:
|
|||
{{.NameAndAliases}}{{end}}{{if .HasValidArgs}}
|
||||
|
||||
Valid Args:{{range .ValidArgs}}
|
||||
{{.Name}} {{.Short}}{{end}}{{end}}{{if .HasExample}}
|
||||
{{rpad .Name 20}} {{.Short}}{{end}}{{end}}{{if .HasExample}}
|
||||
|
||||
Examples:
|
||||
{{.Example}}{{end}}{{if .HasAvailableSubCommands}}
|
||||
|
|
Loading…
Reference in a new issue