aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-07-01 18:45:43 -0300
committerDavid Bremner <david@tethera.net>2022-07-30 08:39:13 -0300
commitcef5eaaef61b1f4dde6276ef267fb923f1b16680 (patch)
treed99e7bb83409f1fc7bb1302fe8449b56795c0c58 /doc
parentf599b8873f4fc748ae1befdac776b543e61045d7 (diff)
CLI/show: initial support for --duplicate for (raw output only)
Add command line argument --duplicate, analogous with that already supported for notmuch-search. Use of a seperate function for _get_filename is mainly a form of documentation at this point. md5sum is of course a weak hash, but it is good enough for this (non-adversarial) test suite use.
Diffstat (limited to 'doc')
-rw-r--r--doc/man1/notmuch-show.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/man1/notmuch-show.rst b/doc/man1/notmuch-show.rst
index 55353921..2c0a0de6 100644
--- a/doc/man1/notmuch-show.rst
+++ b/doc/man1/notmuch-show.rst
@@ -27,6 +27,12 @@ Supported options for **show** include
.. program:: show
+.. option:: --duplicate=N
+
+ Output duplicate number N. The numbering starts from 1, and matches
+ the order used by :option:`search --duplicate` and
+ :option:`search --output=files <search --output>`
+
.. option:: --entire-thread=(true|false)
If true, **notmuch show** outputs all messages in the thread of