about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorJeffas <dev@jeffas.io>2020-05-29 20:56:49 +0100
committerReto Brunner <reto@labrat.space>2020-06-09 08:42:54 +0200
commita69399a138b46be45e0f6b1fd5bb89daea16e995 (patch)
tree8d0dd96c46e161fdd4a50adc93a097314dd7316f /doc
parentcaad1b2c06a0446059ee5ee916e3dce1794b159b (diff)
downloadaerc-a69399a138b46be45e0f6b1fd5bb89daea16e995.tar.gz
Fix search documentation
The documentation for searching in IMAP and Maildir was out of date.
This updates it to be more representative of what the options now do.
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc-search.1.scd20
1 files changed, 14 insertions, 6 deletions
diff --git a/doc/aerc-search.1.scd b/doc/aerc-search.1.scd
index 614a2bd..8c5861a 100644
--- a/doc/aerc-search.1.scd
+++ b/doc/aerc-search.1.scd
@@ -2,9 +2,13 @@ aerc-search(1)
 
 # IMAP
 
-*search* [-rubt] [-f <from>] <terms...>
-	Searches the current folder for <terms>. Each separate term is searched
-	case-insensitively among subject lines if *-b* or *-t* are not provided.
+*search* [-ruba] [-f <from>] [-t <to>] [-c <cc>] [terms...]
+	Searches the current folder for messages matching the given set of
+	conditions.
+
+	Each space separated term of *terms*, if provided, is searched
+	case-insensitively among subject lines unless *-b* or *-a* are
+	provided.
 
 	*-r*: Search for read messages
 
@@ -22,9 +26,13 @@ aerc-search(1)
 
 # MAILDIR
 
-*search* [-rubt] [-f <from>] <terms...>
-	Searches the current folder for <terms>. Each separate term is searched
-	case-insensitively among subject lines if *-b* or *-t* are not provided.
+*search* [-ruba] [-f <from>] [-t <to>] [-c <cc>] [terms...]
+	Searches the current folder for messages matching the given set of
+	conditions.
+
+	Each space separated term of *terms*, if provided, is searched
+	case-insensitively among subject lines unless *-b* or *-a* are
+	provided.
 
 	*-r*: Search for read messages