update aliases
This commit is contained in:
parent
3ed1d348fe
commit
221fa29459
|
@ -40,7 +40,7 @@ func (ua UpdateArgs) Parse(main []string, fields map[string]string) (Command, er
|
||||||
if len(main) < 2 {
|
if len(main) < 2 {
|
||||||
return nil, ErrWrongCommand
|
return nil, ErrWrongCommand
|
||||||
}
|
}
|
||||||
aliases := []string{"u", "update"}
|
aliases := []string{"u", "update", "m", "mod"}
|
||||||
var localIDStr string
|
var localIDStr string
|
||||||
switch {
|
switch {
|
||||||
case slices.Contains(aliases, main[0]):
|
case slices.Contains(aliases, main[0]):
|
||||||
|
|
Loading…
Reference in New Issue