From d95d1b86bb0ac2e21216802d2087b4c369ac07c2 Mon Sep 17 00:00:00 2001 From: Nan Xiao Date: Wed, 16 Dec 2015 16:14:10 +0800 Subject: [PATCH] Update command.go Fix typo in AddCommand method. --- command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.go b/command.go index f5fa34e..cda9b08 100644 --- a/command.go +++ b/command.go @@ -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) }