cli: use the arg parser .present feature to handle show --entire-thread
authorJani Nikula <jani@nikula.org>
Sun, 1 Oct 2017 20:53:16 +0000 (23:53 +0300)
committerDavid Bremner <david@tethera.net>
Thu, 5 Oct 2017 01:02:09 +0000 (22:02 -0300)
commited43b8ddcd01e098a457463ceb0c0fa6b74e0a8a
treef36527bd1be5c1ed5857d5be44e57edb2d78529c
parent9165df21359cc5e93ddeb16bf9623a03441bed62
cli: use the arg parser .present feature to handle show --entire-thread

The --entire-thread default depends on other arguments, so we'll have
to figure out if it was explicitly set by the user or not. The arg
parser .present feature helps us clean up the code here.
notmuch-show.c