]> rtime.felk.cvut.cz Git - notmuch.git/commit
cli: search: Convert --output to keyword argument
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 1 Nov 2014 22:17:43 +0000 (23:17 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 3 Nov 2014 23:15:15 +0000 (00:15 +0100)
commit391e12bd6097e89efa7bd6345d3b626d3597d768
tree36013547d7ddadd413ab06dc77608a7e12e61e83
parent42f864c435a703fd6da32555a6a9b3b790ab8bd5
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