aboutsummaryrefslogtreecommitdiffhomepage
path: root/man
diff options
context:
space:
mode:
authorGravatar John Lenz <lenz@math.uic.edu>2013-07-01 19:19:42 -0500
committerGravatar David Bremner <bremner@debian.org>2013-08-27 07:57:36 -0300
commitf735a85c28a3c6b6e38ecaba04029a917c6d6830 (patch)
tree6dc52a163720aa2ac3532b1b0d857f9536e78800 /man
parent3e60e0b3e9a0cc762abe077fb0077f23ac29f56c (diff)
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
Diffstat (limited to 'man')
-rw-r--r--man/man1/notmuch-show.114
1 files changed, 14 insertions, 0 deletions
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