Fix wrong format of the first flag on step-ca --help

This commit is contained in:
Mariano Cano 2021-03-24 14:55:34 -07:00
parent bdeb0ccd7c
commit e727532963

View file

@ -66,6 +66,7 @@ var appHelpTemplate = `## NAME
| **{{join .Names ", "}}** | {{.Usage}} |{{end}} | **{{join .Names ", "}}** | {{.Usage}} |{{end}}
{{end}}{{if .VisibleFlags}}{{end}} {{end}}{{if .VisibleFlags}}{{end}}
## OPTIONS ## OPTIONS
{{range $index, $option := .VisibleFlags}}{{if $index}} {{range $index, $option := .VisibleFlags}}{{if $index}}
{{end}}{{$option}} {{end}}{{$option}}
{{end}}{{end}}{{if .Copyright}}{{if len .Authors}} {{end}}{{end}}{{if .Copyright}}{{if len .Authors}}