diff options
author | Koni Marti <koni.marti@gmail.com> | 2024-06-14 23:06:57 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-08-20 11:54:34 +0200 |
commit | 658ddc8abad1b64eeed2670b8534dc9855400992 (patch) | |
tree | 9e49eb18733ddfadcb3a93577e6550c02e1ed5f0 /doc | |
parent | 108a8ca1d2728dc7b4258fb455b78fab1f6a063d (diff) | |
download | aerc-658ddc8abad1b64eeed2670b8534dc9855400992.tar.gz |
pipe: add -d flag to decrypt message
Add -d flag to the pipe command to decrypt a message before it is piped.
Implements: https://todo.sr.ht/~rjarry/aerc/238
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Tested-by: Jens Grassel <jens@wegtam.com>
Reviewed-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/aerc.1.scd | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index 30840158..7d6da4b9 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -400,7 +400,7 @@ message list, the message in the message viewer, etc). *:patch* _<args ...>_ Patch management sub-commands. See *aerc-patch*(7) for more details. -*:pipe* [*-bmp*] _<cmd>_ +*:pipe* [*-bdmps*] _<cmd>_ Downloads and pipes the selected message into the given shell command (executed with _sh -c "<cmd>"_), and opens a new terminal tab to show the result. By default, the selected message part is used in the message @@ -411,12 +411,14 @@ message list, the message in the message viewer, etc). *-b*: Run the command in the background instead of opening a terminal tab - *-s*: Silently close the terminal tab after the command is completed + *-d*: Pipe the (full) message but decrypt it first. *-m*: Pipe the full message *-p*: Pipe just the selected message part, if applicable + *-s*: Silently close the terminal tab after the command is completed + This can be used to apply patch series with git: *:pipe -m* _git am -3_ |