Update command.go

Fix typo in AddCommand method.
This commit is contained in:
Nan Xiao 2015-12-16 16:14:10 +08:00
parent ee6224d01f
commit d95d1b86bb

View File

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