diff options
Diffstat (limited to 'commands/quit.go')
-rw-r--r-- | commands/quit.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/quit.go b/commands/quit.go index 535ee61..63bc94a 100644 --- a/commands/quit.go +++ b/commands/quit.go @@ -12,11 +12,11 @@ func init() { register(Quit{}) } -func (_ Quit) Aliases() []string { +func (Quit) Aliases() []string { return []string{"quit", "exit"} } -func (_ Quit) Complete(aerc *widgets.Aerc, args []string) []string { +func (Quit) Complete(aerc *widgets.Aerc, args []string) []string { return nil } @@ -26,7 +26,7 @@ func (err ErrorExit) Error() string { return "exit" } -func (_ Quit) Execute(aerc *widgets.Aerc, args []string) error { +func (Quit) Execute(aerc *widgets.Aerc, args []string) error { if len(args) != 1 { return errors.New("Usage: quit") } |