diff --git a/command.go b/command.go index aa3f33aa..b92c95cb 100644 --- a/command.go +++ b/command.go @@ -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: