mirror of https://github.com/spf13/cobra.git
Fixed Small Comment Typo
small error in function description
This commit is contained in:
parent
0f866a6211
commit
6096009e8d
|
@ -747,7 +747,7 @@ func (c *Command) AddCommand(cmds ...*Command) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddCommand removes one or more commands from a parent command.
|
// RemoveCommand removes one or more commands from a parent command.
|
||||||
func (c *Command) RemoveCommand(cmds ...*Command) {
|
func (c *Command) RemoveCommand(cmds ...*Command) {
|
||||||
commands := []*Command{}
|
commands := []*Command{}
|
||||||
main:
|
main:
|
||||||
|
|
Loading…
Reference in New Issue