Skip to content

Commit 1675a67

Browse files
committed
hide credits from main help
1 parent 9f0a199 commit 1675a67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ func rootHelpFunc(command *cobra.Command, s []string) {
271271
s := " " + rpad(c.Name()+":", c.NamePadding()) + c.Short
272272
if includes(coreCommandNames, c.Name()) {
273273
coreCommands = append(coreCommands, s)
274-
} else {
274+
} else if c != creditsCmd {
275275
additionalCommands = append(additionalCommands, s)
276276
}
277277
}

0 commit comments

Comments
 (0)