1
0
Fork 0
mirror of https://github.com/spf13/cobra synced 2025-04-04 22:09:11 +00:00

capitolized letter

This commit is contained in:
JungleHornet 2024-07-11 21:17:08 +02:00 committed by GitHub
parent e94f6d0dd9
commit aca5b04dfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1188,7 +1188,7 @@ func (c *Command) checkCommandGroups() {
func (c *Command) InitDefaultHelpFlag() {
c.mergePersistentFlags()
if c.Flags().Lookup("help") == nil {
usage := "help for "
usage := "Help for "
name := c.displayName()
if name == "" {
usage += "this command"