mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
fix grammatical error in command.go (#626)
This commit is contained in:
parent
f91529fc60
commit
3a7eb146ba
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue