mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +00:00
Fixed Small Comment Typo
small error in function description
This commit is contained in:
parent
0f866a6211
commit
6096009e8d
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
commands := []*Command{}
|
||||
main:
|
||||
|
|
Loading…
Reference in a new issue