Merge pull request #959 from vdemeester/help-use-available-flags

Use HasAvailableFlags instead of HasFlags for Options in help
This commit is contained in:
Vincent Demeester 2018-03-22 19:13:26 +01:00 committed by GitHub
commit a6d235430a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ Examples:
{{ .Example }} {{ .Example }}
{{- end}} {{- end}}
{{- if .HasFlags}} {{- if .HasAvailableFlags}}
Options: Options:
{{ wrappedFlagUsages . | trimRightSpace}} {{ wrappedFlagUsages . | trimRightSpace}}