aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-07-19 18:50:12 +0200
committerRobin Jarry <robin@jarry.cc>2023-07-31 15:05:11 +0200
commit037ee1a6cfb35383f34b0fcc70dfc53f9463bd09 (patch)
treeec6898a7a4b6cd63b22cdb63ada947c2ced539be /doc
parent02eeed0b489870e3b6f0668c62e2f98ac6bb1d31 (diff)
downloadaerc-037ee1a6cfb35383f34b0fcc70dfc53f9463bd09.tar.gz
compose: allow removing headers
Allow removing headers from the compose window when edit-headers=false (the default) with :header -d <name>. Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Koni Marti <koni.marti@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc.1.scd9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index ab1333f8..5b1d36f3 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -640,8 +640,13 @@ message list, the message in the message viewer, etc).
*-n*: switch to next account
*:header* [*-f*] _<name>_ [_<value>_]
- Add a new email header. If the header already exists, *-f* must be
- specified to replace the given value.
+*:header* [*-d*] _<name>_
+ Add a new email header to the compose window. If the header is already
+ set and is not empty, *-f* must be used to overwrite its value.
+
+ *-f*: Overwrite any existing header.
+
+ *-d*: Remove the header instead of adding it.
*:encrypt*
Encrypt the message to all recipients. If a key for a recipient cannot