diff options
| author | Jani Nikula <jani@nikula.org> | 2014-11-01 11:31:06 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2014-11-02 19:42:12 +0100 |
| commit | 4366b9b88c63242a166007d309bdbadd4be5576e (patch) | |
| tree | 8b5da24281eb431862512756e4328de18d506098 /doc | |
| parent | 96988e35c7aa44072fff07224c5e39254aa43e81 (diff) | |
cli: add support for notmuch search --duplicate=N with --output=messages
Print the message IDs of all messages matching the search terms that
have at least N files associated with them.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/man1/notmuch-search.rst | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/man1/notmuch-search.rst b/doc/man1/notmuch-search.rst index b6607c92..8110086e 100644 --- a/doc/man1/notmuch-search.rst +++ b/doc/man1/notmuch-search.rst @@ -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 |
