Fix aliases appending

Add 3 dots on appending to merge 2 slices.
This commit is contained in:
ks129 2020-05-25 07:55:30 +03:00 committed by diamondburned
parent 23d97044ec
commit 93fbfd98d0
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ func (sub *Subcommand) AddAliases(commandName string, aliases ...string) {
command := sub.FindCommand(commandName)
// Write new listing of aliases
command.Aliases = append(command.Aliases, aliases)
command.Aliases = append(command.Aliases, aliases...)
}
func lowerFirstLetter(name string) string {