Merge pull request #211 from NanXiao/patch-1

Update command.go
This commit is contained in:
Eric Paris 2015-12-16 10:02:01 -05:00
commit ea3bf167cf
1 changed files with 1 additions and 1 deletions

View File

@ -747,7 +747,7 @@ func (c *Command) AddCommand(cmds ...*Command) {
if nameLen > c.commandsMaxNameLen { if nameLen > c.commandsMaxNameLen {
c.commandsMaxNameLen = nameLen c.commandsMaxNameLen = nameLen
} }
// If glabal normalization function exists, update all children // If global normalization function exists, update all children
if c.globNormFunc != nil { if c.globNormFunc != nil {
x.SetGlobalNormalizationFunc(c.globNormFunc) x.SetGlobalNormalizationFunc(c.globNormFunc)
} }