diff options
Diffstat (limited to 'commands/account/clear.go')
-rw-r--r-- | commands/account/clear.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/account/clear.go b/commands/account/clear.go index bb9c04e4..392fdd0b 100644 --- a/commands/account/clear.go +++ b/commands/account/clear.go @@ -11,15 +11,15 @@ func init() { register(Clear{}) } -func (_ Clear) Aliases() []string { +func (Clear) Aliases() []string { return []string{"clear"} } -func (_ Clear) Complete(aerc *widgets.Aerc, args []string) []string { +func (Clear) Complete(aerc *widgets.Aerc, args []string) []string { return nil } -func (_ Clear) Execute(aerc *widgets.Aerc, args []string) error { +func (Clear) Execute(aerc *widgets.Aerc, args []string) error { acct := aerc.SelectedAccount() if acct == nil { return errors.New("No account selected") |