diff --git a/cli/cobra.go b/cli/cobra.go index 3a5691a8c3..e97abd2a1b 100644 --- a/cli/cobra.go +++ b/cli/cobra.go @@ -128,7 +128,7 @@ Examples: {{ .Example }} {{- end}} -{{- if .HasFlags}} +{{- if .HasAvailableFlags}} Options: {{ wrappedFlagUsages . | trimRightSpace}}