]> git.cworth.org Git - notmuch/commitdiff
cli: add options --offset and --limit to notmuch show
authorRobin Jarry <robin@jarry.cc>
Tue, 18 Oct 2022 19:41:58 +0000 (21:41 +0200)
committerDavid Bremner <david@tethera.net>
Sat, 5 Nov 2022 17:18:15 +0000 (13:18 -0400)
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>

No differences found