From f735a85c28a3c6b6e38ecaba04029a917c6d6830 Mon Sep 17 00:00:00 2001 From: John Lenz Date: Mon, 1 Jul 2013 19:19:42 -0500 Subject: cli: add --include-html option to notmuch show For my client, the largest bottleneck for displaying large threads is exporting each html part individually since by default notmuch will not show the json parts. For large threads there can be quite a few parts and each must be exported and decoded one by one. Also, I then have to deal with all the crazy charsets which I can do through a library but is a pain. Therefore, this patch adds an --include-html option that causes the text/html parts to be included as part of the output of show. diff man/man1/notmuch-show.1 --- man/man1/notmuch-show.1 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'man') diff --git a/man/man1/notmuch-show.1 b/man/man1/notmuch-show.1 index 7bb67ffc..a6fe4c70 100644 --- a/man/man1/notmuch-show.1 +++ b/man/man1/notmuch-show.1 @@ -207,6 +207,20 @@ This is useful if the caller only needs the headers as body-less output is much faster and substantially smaller. .RE +.RS 4 +.TP 4 +.B \-\-include-html + +Include "text/html" parts as part of the output (currently only supported with +--format=json and --format=sexp). +By default, unless +.B --part=N +is used to select a specific part or +.B --include-html +is used to include all "text/html" parts, no part with content type "text/html" +is included in the output. +.RE + A common use of .B notmuch show is to display a single thread of email messages. For this, use a -- cgit v1.2.3