diff options
| author | Robin Jarry <robin@jarry.cc> | 2022-10-18 21:41:58 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-11-05 13:18:15 -0400 |
| commit | 793f2980910f612fa33806ef71fa7ee35d093657 (patch) | |
| tree | 693d82c511730bbf407cce43491242590f2456ba /doc/man1 | |
| parent | b6565c1c54e35563843e7ddece601680170bb84a (diff) | |
cli: add options --offset and --limit to notmuch show
notmuch search does not output header values. However, when browsing
through a large email corpus, it can be time saving to be able to
paginate without running notmuch show for each message/thread.
Add --offset and --limit options to notmuch show. This is inspired from
commit 796b629c3b82 ("cli: add options --offset and --limit to notmuch
search").
Update man page, shell completion and add a test case to ensure it works
as expected.
Cc: Tim Culverhouse <tim@timculverhouse.com>
Cc: Tomi Ollila <tomi.ollila@iki.fi>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc/man1')
| -rw-r--r-- | doc/man1/notmuch-show.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/man1/notmuch-show.rst b/doc/man1/notmuch-show.rst index 2c0a0de6..c13d94de 100644 --- a/doc/man1/notmuch-show.rst +++ b/doc/man1/notmuch-show.rst @@ -130,6 +130,15 @@ Supported options for **show** include By default, results will be displayed in reverse chronological order, (that is, the newest results will be displayed first). +.. option:: --offset=[-]N + + Skip displaying the first N results. With the leading '-', start + at the Nth result from the end. + +.. option:: --limit=N + + Limit the number of displayed results to N. + .. option:: --verify Compute and report the validity of any MIME cryptographic |
