aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2019-08-28 06:39:07 +0200
committerDrew DeVault <sir@cmpwn.com>2019-08-29 08:44:10 +0900
commit94b9d557dee0fd13853b1883cc2730c5cbdbcd3f (patch)
tree8a0040b60df9ab4fa3d7f9d137d126a04fd5943b /doc
parentac99d9ed62644cf0259bdd79481b28c3fbcef650 (diff)
downloadaerc-94b9d557dee0fd13853b1883cc2730c5cbdbcd3f.tar.gz
extract search criteria parsing into the backends
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc-search.1.scd11
-rw-r--r--doc/aerc.1.scd11
2 files changed, 15 insertions, 7 deletions
diff --git a/doc/aerc-search.1.scd b/doc/aerc-search.1.scd
new file mode 100644
index 00000000..58da44b6
--- /dev/null
+++ b/doc/aerc-search.1.scd
@@ -0,0 +1,11 @@
+aerc-search(1)
+
+# IMAP
+
+*search* [-ru] <terms...>
+ Searches the current folder for <terms>. Each separate term is searched
+ case-insensitively among subject lines.
+
+ *-r*: Search for read messages
+
+ *-u*: Search for unread messages
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index 225ded7b..c3be01be 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -175,13 +175,10 @@ message list, the message in the message viewer, etc).
*next-result*, *prev-result*
Selects the next or previous search result.
-*search* [-ru] <terms...>
- Searches the current folder for <terms>. Each separate term is searched
- case-insensitively among subject lines.
-
- *-r*: Search for read messages
-
- *-u*: Search for unread messages
+*search*
+ Searches the current folder.
+ The search syntax is dependant on the underlying backend.
+ Refer to *aerc-search*(1) for details
*select* <n>
Selects the nth message in the message list (and scrolls it into view if