mirror of
https://github.com/spf13/cobra
synced 2024-11-25 07:07:15 +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}}
|
{{.NameAndAliases}}{{end}}{{if .HasValidArgs}}
|
||||||
|
|
||||||
Valid Args:{{range .ValidArgs}}
|
Valid Args:{{range .ValidArgs}}
|
||||||
{{.Name}} {{.Short}}{{end}}{{end}}{{if .HasExample}}
|
{{rpad .Name 20}} {{.Short}}{{end}}{{end}}{{if .HasExample}}
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
{{.Example}}{{end}}{{if .HasAvailableSubCommands}}
|
{{.Example}}{{end}}{{if .HasAvailableSubCommands}}
|
||||||
|
|
Loading…
Reference in a new issue