cli: search: Refactor passing of command line options
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 31 Oct 2014 21:53:55 +0000 (22:53 +0100)
committerDavid Bremner <david@tethera.net>
Sat, 1 Nov 2014 07:01:59 +0000 (08:01 +0100)
commitdc398119482b58be5f46cf636127794a002b36e6
treebc1784fa0b637c760e2f7734c44fe32e2dfb973c
parent28d121955cc72499b250e2a2b838e5cdd18ab6a3
cli: search: Refactor passing of command line options

Many functions that implement the search command need to access command
line options. Instead of passing each option in a separate variable, put
them in a structure and pass only this structure.

This will become handy in the following commits.
notmuch-search.c