cli: search: Convert --output to keyword argument
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 5 Nov 2014 00:25:56 +0000 (01:25 +0100)
committerDavid Bremner <david@tethera.net>
Wed, 5 Nov 2014 22:20:17 +0000 (23:20 +0100)
commit5c32365d873628dc5d18968882ee0f7c7a30a5f4
treeabcbf7c7536fe81f7ab34b61ff18f94b2c0d1d1f
parent5c27136e64dab2f90995de0bfa37c54186a2fae1
cli: search: Convert --output to keyword argument

Now, when address related outputs are in a separate command, it makes
no sense to combine multiple --output options in search command line.
Using switch statement to handle different outputs is more readable
than a series of if statements.
doc/man1/notmuch-search.rst
notmuch-search.c