aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/quit.go2
-rw-r--r--doc/aerc.1.scd3
2 files changed, 3 insertions, 2 deletions
diff --git a/commands/quit.go b/commands/quit.go
index aa996422..e17200ef 100644
--- a/commands/quit.go
+++ b/commands/quit.go
@@ -19,7 +19,7 @@ func (Quit) Context() CommandContext {
}
func (Quit) Aliases() []string {
- return []string{"quit", "exit"}
+ return []string{"quit", "q", "exit"}
}
type ErrorExit int
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index 2a20213a..a2d4c922 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -254,7 +254,8 @@ These commands work in any context.
Suspends the aerc process. Some ongoing connections may be terminated.
*:quit* [*-f*]++
-*:exit* [*-f*]
+*:exit* [*-f*]++
+*:q* [*-f*]
Exits aerc. If a task is being performed that should not be interrupted
(like sending a message), a normal quit call might fail. In this case,
closing aerc can be forced with the *-f* option.