From a69399a138b46be45e0f6b1fd5bb89daea16e995 Mon Sep 17 00:00:00 2001
From: Jeffas <dev@jeffas.io>
Date: Fri, 29 May 2020 20:56:49 +0100
Subject: 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.
---
 doc/aerc-search.1.scd | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

(limited to 'doc')

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
 
-- 
cgit 1.4.1-2-gfad0