print version with proper indentation (#9047)

currently version is printed as

> VERSION:
> DEVELOPMENT.2020-02-26T14-30-02Z

this is what we want

> VERSION:
>   DEVELOPMENT.2020-02-26T14-30-02Z
>
master
Harshavardhana 5 years ago committed by GitHub
parent 5b8975bf4b
commit 2dd14c0b89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmd/main.go

@ -74,7 +74,7 @@ FLAGS:
{{range .VisibleFlags}}{{.}} {{range .VisibleFlags}}{{.}}
{{end}}{{end}} {{end}}{{end}}
VERSION: VERSION:
{{.Version}} {{.Version}}
` `
func newApp(name string) *cli.App { func newApp(name string) *cli.App {

Loading…
Cancel
Save