diff options
author | Scott Robinson <scott@quadhome.com> | 2009-12-31 11:17:40 -0400 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-02-23 12:01:12 -0800 |
commit | 6ce2bf68f53fec4302121763e588c33c7cd86a9c (patch) | |
tree | 97eed1a84956f582cc43efbb16419c43b930c242 /Makefile.local | |
parent | 3ca7a4fbcc9cd72330bce1b1670150af1e250006 (diff) |
Add an "--format=(json|text)" command-line option to both notmuch-search and notmuch-show.
In the case of notmuch-show, "--format=json" also implies
"--entire-thread" as the thread structure is implicit in the emitted
document tree.
As a coincidence to the implementation, multipart message ID numbers are
now incremented with each part printed. This changes the previous
semantics, which were unclear and not necessary related to the actual
ordering of the message parts.
Diffstat (limited to 'Makefile.local')
-rw-r--r-- | Makefile.local | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.local b/Makefile.local index 04bac838..034b2036 100644 --- a/Makefile.local +++ b/Makefile.local @@ -18,7 +18,8 @@ notmuch_client_srcs = \ notmuch-tag.c \ notmuch-time.c \ query-string.c \ - show-message.c + show-message.c \ + json.c notmuch_client_modules = $(notmuch_client_srcs:.c=.o) notmuch: $(notmuch_client_modules) lib/notmuch.a |