aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorinwit <inwit@sindominio.net>2022-04-29 14:05:01 +0200
committerRobin Jarry <robin@jarry.cc>2022-04-29 15:02:28 +0200
commita1b75a99bd277eb1f65a0483359af8e411b124d5 (patch)
tree01e3f2e20a5fd5b337772fbe968f9a63be2e125a
parent78b7e4e993f50e7b86e6cbb7ede06c6f0fa9798c (diff)
downloadaerc-a1b75a99bd277eb1f65a0483359af8e411b124d5.tar.gz
recall: mention the -f option in the error message
Commit bc593ac7cdb2 ("recall: allow recalling messages from any folder") added the possibility to recall any message by providing the -f flag. Mention the flag in the error message. Signed-off-by: inwit <inwit@sindominio.net> Acked-by: Robin Jarry <robin@jarry.cc>
-rw-r--r--commands/msg/recall.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/msg/recall.go b/commands/msg/recall.go
index b6b850c5..443f8e4e 100644
--- a/commands/msg/recall.go
+++ b/commands/msg/recall.go
@@ -53,8 +53,8 @@ func (Recall) Execute(aerc *widgets.Aerc, args []string) error {
return errors.New("No account selected")
}
if acct.SelectedDirectory() != acct.AccountConfig().Postpone && !force {
- return errors.New("Can only recall from the postpone directory: " +
- acct.AccountConfig().Postpone)
+ return errors.New("Use -f to recall from outside the " +
+ acct.AccountConfig().Postpone + " directory.")
}
store := widget.Store()
if store == nil {