]> git.notmuchmail.org Git - notmuch/blobdiff - doc/man1/notmuch-search.rst
cli: add support for notmuch search --duplicate=N with --output=messages
[notmuch] / doc / man1 / notmuch-search.rst
index b6607c922cc083c35b9add629c771d6d3927da1b..8110086eff4fa29953c10d7e18f84bc3cecc4e28 100644 (file)
@@ -142,10 +142,14 @@ Supported options for **search** include
         rather than the number of matching messages.
 
     ``--duplicate=N``
-        Effective with ``--output=files``, output the Nth filename
-        associated with each message matching the query (N is 1-based).
-        If N is greater than the number of files associated with the
-        message, don't print anything.
+        For ``--output=files``, output the Nth filename associated
+        with each message matching the query (N is 1-based). If N is
+        greater than the number of files associated with the message,
+        don't print anything.
+
+        For ``--output=messages``, only output message IDs of messages
+        matching the search terms that have at least N filenames
+        associated with them.
 
         Note that this option is orthogonal with the **folder:** search
         prefix. The prefix matches messages based on filenames. This