1
0
Fork 0
mirror of https://github.com/spf13/cobra synced 2025-04-14 02:37:21 +00:00

fix grammatical error in command.go ()

This commit is contained in:
Shamus Taylor 2018-02-02 00:04:56 -06:00 committed by Eric Paris
parent f91529fc60
commit 3a7eb146ba

View file

@ -1245,7 +1245,7 @@ func (c *Command) HasParent() bool {
return c.parent != nil
}
// GlobalNormalizationFunc returns the global normalization function or nil if doesn't exists.
// GlobalNormalizationFunc returns the global normalization function or nil if it doesn't exist.
func (c *Command) GlobalNormalizationFunc() func(f *flag.FlagSet, name string) flag.NormalizedName {
return c.globNormFunc
}