command: fix typo in docstring of InheritedFlags (#779)

This commit is contained in:
Indradhanush Gupta 2018-10-30 13:54:56 -07:00 committed by umarcor
parent 0a6c06ed0b
commit 7bab206a70

View file

@ -1335,7 +1335,7 @@ func (c *Command) LocalFlags() *flag.FlagSet {
return c.lflags return c.lflags
} }
// InheritedFlags returns all flags which were inherited from parents commands. // InheritedFlags returns all flags which were inherited from parent commands.
func (c *Command) InheritedFlags() *flag.FlagSet { func (c *Command) InheritedFlags() *flag.FlagSet {
c.mergePersistentFlags() c.mergePersistentFlags()