]> git.cworth.org Git - obsolete/notmuch-old/commit
cli: make --entire-thread=false work for format=json.
authorMark Walters <markwalters1009@gmail.com>
Sat, 16 Jun 2012 10:21:44 +0000 (11:21 +0100)
committerDavid Bremner <bremner@debian.org>
Sat, 30 Jun 2012 01:32:16 +0000 (22:32 -0300)
commit15904cde125d317c7e59923104e270c6fbe502f7
tree4ac0833e0961e29b9a7246b3dc1473c56464ba10
parent4d3bfba98316ef703c430bb3202dc4e258f05ae5
cli: make --entire-thread=false work for format=json.

The --entire-thread option in notmuch-show.c defaults to true when
format=json. Previously there was no way to turn this off. This patch
makes it respect --entire-thread=false.

To do this the patch moves the --entire-thread option to be a keyword
option using the new command line parsing to allow the existing
--entire-thread to keep working.
notmuch-show.c