Changed set-attr to support changing attributes of marked items
This commit is contained in:
parent
7fc67e4d9a
commit
0f0bf70d01
6 changed files with 108 additions and 65 deletions
|
|
@ -60,7 +60,10 @@ func (c *CommandController) Alias(commandName string) Command {
|
|||
return events.SetError(errors.New("no such command: " + commandName))
|
||||
}
|
||||
|
||||
return command(args[1:])
|
||||
if len(args) > 1 {
|
||||
return command(args[1:])
|
||||
}
|
||||
return command([]string{})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue