mirror of
https://github.com/spf13/cobra
synced 2025-05-06 13:27:26 +00:00
command: fix typo in docstring of InheritedFlags (#779)
This commit is contained in:
parent
0a6c06ed0b
commit
7bab206a70
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue