diff --git a/command.go b/command.go index 16e087e1a..8c16d2c04 100644 --- a/command.go +++ b/command.go @@ -2006,6 +2006,12 @@ func (c *cmdsInfoCache) Get() (map[string]*CommandInfo, error) { if err != nil { return err } + for key := range cmds { + lowerKey := internal.ToLower(key) + if key != lowerKey { + cmds[lowerKey] = cmds[key] + } + } c.cmds = cmds return nil })