aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeffas <dev@jeffas.io>2019-09-09 21:37:45 +0100
committerDrew DeVault <sir@cmpwn.com>2019-09-11 12:24:27 -0400
commit32381592fc335bc26a06cee847df926b9f6e6c06 (patch)
treea3dd53ab5ff30986ca76601c2f64fb33dfe57986 /doc
parent282dc44aa67773b608cace43587ecd2c140689a4 (diff)
Add new search behaviour for imap
This patch adds search behaviour to allow searching in the body of the messages, the entire text (body + header), and searching just the from header.
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc-search.1.scd10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/aerc-search.1.scd b/doc/aerc-search.1.scd
index c86ed6a..def9d3d 100644
--- a/doc/aerc-search.1.scd
+++ b/doc/aerc-search.1.scd
@@ -2,14 +2,20 @@ aerc-search(1)
# IMAP
-*search* [-ru] <terms...>
+*search* [-rubt] [-f <from>] <terms...>
Searches the current folder for <terms>. Each separate term is searched
- case-insensitively among subject lines.
+ case-insensitively among subject lines if *-b* or *-t* are not provided.
*-r*: Search for read messages
*-u*: Search for unread messages
+ *-b*: Search in the body of the messages
+
+ *-t*: Search in the entire text of the messages
+
+ *-f <from>*: Search for messages from <from>
+
# NOTMUCH
*search* <query...>