update aliases

This commit is contained in:
Erik Winter 2025-01-05 12:23:05 +01:00
parent 3ed1d348fe
commit 221fa29459
2 changed files with 1 additions and 1 deletions

BIN
dist/plan vendored

Binary file not shown.

View File

@ -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]):