mirror of
https://github.com/spf13/cobra
synced 2024-11-04 21:07:19 +00:00
Merge pull request #278 from kevintpeng/patch-1
Fixed Small Comment Typo
This commit is contained in:
commit
f368244301
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