Skip to content

Commit 8989531

Browse files
committed
fix: eq -> gt
1 parent c798e20 commit 8989531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ func usageTemplate() string {
335335
{{- if .HasAvailableSubCommands}}
336336
{{usageHeader "Commands:"}}
337337
{{- range .Commands}}
338-
{{- $hasRootAnnotations := (and $isRootHelp (eq (len .Annotations) 0))}}
338+
{{- $hasRootAnnotations := (and $isRootHelp (gt (len .Annotations) 0))}}
339339
{{- if (or (and .IsAvailableCommand (not $hasRootAnnotations)) (eq .Name "help"))}}
340340
{{rpad .Name .NamePadding }} {{.Short}}
341341
{{- end}}

0 commit comments

Comments
 (0)