aboutsummaryrefslogtreecommitdiffstats
path: root/doc/aerc-search.1.scd
diff options
context:
space:
mode:
authorJulian Marcos <jmjl@tilde.green>2023-04-17 06:22:11 +0200
committerRobin Jarry <robin@jarry.cc>2023-04-22 22:50:37 +0200
commit96d5b4e149dccfdb75d41785e6525b647925f8ce (patch)
tree3ca3f3761c3abdc12e1159773e5e6bca80ba1e54 /doc/aerc-search.1.scd
parentd8c2d63ee9b37e78d0e06ec71b2227b83ee52aa5 (diff)
downloadaerc-96d5b4e149dccfdb75d41785e6525b647925f8ce.tar.gz
search: handle headers in search/filter query
Handle headers in the search and filter commands, for searching and filtering based on the Headers specified by the -H parameter, the syntax for the -H parameter should be `Header: Key`. Signed-off-by: Julian Marcos <jmjl@tilde.green> Acked-by: Robin Jarry<robin@jarry.cc>
Diffstat (limited to 'doc/aerc-search.1.scd')
-rw-r--r--doc/aerc-search.1.scd7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/aerc-search.1.scd b/doc/aerc-search.1.scd
index 9b375d55..68ec685a 100644
--- a/doc/aerc-search.1.scd
+++ b/doc/aerc-search.1.scd
@@ -6,7 +6,7 @@ aerc-search - search and filter patterns and options for *aerc*(1)
# MAILDIR & IMAP
-*search* [*-ruba*] [*-x* _<flag>_] [*-X* _<flag>_] [*-f* _<from>_] [*-t* _<to>_] [*-c* _<cc>_] [*-d* _<start[,end]>_] [_<terms>_...]
+*search* [*-ruba*] [*-x* _<flag>_] [*-X* _<flag>_] [*-H* _Header: Value_] [*-f* _<from>_] [*-t* _<to>_] [*-c* _<cc>_] [*-d* _<start[,end]>_] [_<terms>_...]
Searches the current folder for messages matching the given set of
conditions.
@@ -30,6 +30,11 @@ aerc-search - search and filter patterns and options for *aerc*(1)
_Flagged_
Flagged messages
+ *-H*: Search in the headers of the messages, for a specific header
+ Syntax: _Header: Value_
+ If the space between _:_ and the value is ommited, aerc will not
+ search for the Header.
+
*-b*: Search in the body of the messages
*-a*: Search in the entire text of the messages