about summary refs log tree commit diff stats
path: root/doc/aerc-search.1.scd
diff options
context:
space:
mode:
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 8c5861a..b90a934 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
a> 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269