mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +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) {
|
func (c *Command) RemoveCommand(cmds ...*Command) {
|
||||||
commands := []*Command{}
|
commands := []*Command{}
|
||||||
main:
|
main:
|
||||||
|
|
Loading…
Reference in a new issue