From a64563466ddcb9fc321b8dd540f929c979310af9 Mon Sep 17 00:00:00 2001 From: Koni Marti Date: Fri, 14 Jun 2024 23:06:58 +0200 Subject: copy: add -d flag to decrypt before copying Add -d flag to the copy command to decrypt a message before copying it. Implements: https://todo.sr.ht/~rjarry/aerc/238 Signed-off-by: Koni Marti Tested-by: Jens Grassel Reviewed-by: Tim Culverhouse Acked-by: Robin Jarry --- doc/aerc.1.scd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/aerc.1.scd') diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index 7d6da4b9..26713206 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -319,10 +319,12 @@ message list, the message in the message viewer, etc). *-E*: Forces *[compose].edit-headers* = _false_ for this message only. -*:copy* [*-p*] [*-a* __] [*-m* __] __++ -*:cp* [*-p*] [*-a* __] [*-m* __] __ +*:copy* [*-dp*] [*-a* __] [*-m* __] __++ +*:cp* [*-dp*] [*-a* __] [*-m* __] __ Copies the selected message(s) to __. + *-d*: Decrypt the message before copying. + *-p*: Create __ if it does not exist. *-a*: Copy to __ of __. If __ does -- cgit