diff options
Diffstat (limited to 'commands/quit.go')
-rw-r--r-- | commands/quit.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/quit.go b/commands/quit.go index 3435859..c0c387b 100644 --- a/commands/quit.go +++ b/commands/quit.go @@ -7,7 +7,7 @@ import ( ) func init() { - Register("quit", ChangeQuit) + register("quit", CommandQuit) } type ErrorExit int @@ -16,7 +16,7 @@ func (err ErrorExit) Error() string { return "exit" } -func ChangeQuit(aerc *widgets.Aerc, args []string) error { +func CommandQuit(aerc *widgets.Aerc, args []string) error { if len(args) != 1 { return errors.New("Usage: quit") } |