aboutsummaryrefslogtreecommitdiffstats
path: root/doc/aerc-search.1.scd
diff options
context:
space:
mode:
authorTobias Wölfel <tobias.woelfel@mailbox.org>2020-07-24 10:36:19 +0200
committerReto Brunner <reto@labrat.space>2020-07-25 08:08:08 +0200
commit494bd674a98bc9f2889acad0fda3ff4c77c641b5 (patch)
treefb9ec5313689de1e48211607adc71c1ae23b72a9 /doc/aerc-search.1.scd
parent126c9437e8bd6374a432a8af6cfe3e6d5227dcc2 (diff)
downloadaerc-494bd674a98bc9f2889acad0fda3ff4c77c641b5.tar.gz
Add flag based search options
Provide search and filter with the option to specify more flag based conditions. Use '-x <flag>' to search for messages with a flag (seen, answered, flagged) and '-X <flag>' to search for messages without a flag.
Diffstat (limited to 'doc/aerc-search.1.scd')
-rw-r--r--doc/aerc-search.1.scd36
1 files changed, 34 insertions, 2 deletions
diff --git a/doc/aerc-search.1.scd b/doc/aerc-search.1.scd
index 8c5861a4..b90a934b 100644
--- a/doc/aerc-search.1.scd
+++ b/doc/aerc-search.1.scd
@@ -2,7 +2,7 @@ aerc-search(1)
# IMAP
-*search* [-ruba] [-f <from>] [-t <to>] [-c <cc>] [terms...]
+*search* [-ruba] [-x <flag>] [-X <flag>] [-f <from>] [-t <to>] [-c <cc>] [terms...]
Searches the current folder for messages matching the given set of
conditions.
@@ -14,6 +14,22 @@ aerc-search(1)
*-u*: Search for unread messages
+ *-x <flag>*, *-X <flag>*: Restrict search to messages with or without <flag>
+
+ Use *-x* to search for messages with the flag set.
+ Use *-X* to search for messages without the flag set.
+
+ Possible values are:
+
+ Seen
+ Read messages
+
+ Answered
+ Replied messages
+
+ Flagged
+ Flagged messages
+
*-b*: Search in the body of the messages
*-a*: Search in the entire text of the messages
@@ -26,7 +42,7 @@ aerc-search(1)
# MAILDIR
-*search* [-ruba] [-f <from>] [-t <to>] [-c <cc>] [terms...]
+*search* [-ruba] [-x <flag>] [-X <flag>] [-f <from>] [-t <to>] [-c <cc>] [terms...]
Searches the current folder for messages matching the given set of
conditions.
@@ -38,6 +54,22 @@ aerc-search(1)
*-u*: Search for unread messages
+ *-x <flag>*, *-X <flag>*: Restrict search to messages with or without <flag>
+
+ Use *-x* to search for messages with the flag set.
+ Use *-X* to search for messages without the flag set.
+
+ Possible values are:
+
+ Seen
+ Read messages
+
+ Answered
+ Replied messages
+
+ Flagged
+ Flagged messages
+
*-b*: Search in the body of the messages
*-a*: Search in the entire text of the messages