From a1b75a99bd277eb1f65a0483359af8e411b124d5 Mon Sep 17 00:00:00 2001 From: inwit Date: Fri, 29 Apr 2022 14:05:01 +0200 Subject: [PATCH] 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 Acked-by: Robin Jarry --- commands/msg/recall.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/msg/recall.go b/commands/msg/recall.go index b6b850c..443f8e4 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 {