cli: Introduce "notmuch address" command
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 5 Nov 2014 00:25:55 +0000 (01:25 +0100)
committerDavid Bremner <david@tethera.net>
Wed, 5 Nov 2014 22:19:12 +0000 (23:19 +0100)
commit5c27136e64dab2f90995de0bfa37c54186a2fae1
treeef2c628927a1498a5a7c0954985edc4fcaf5ad31
parent4387112de00d27e6957ca2b6a268242f0bb5c756
cli: Introduce "notmuch address" command

This moves address-related functionality from search command to the
new address command. The implementation shares almost all code and
some command line options.

Options --offset and --limit were intentionally not included in the
address command, because they refer to messages numbers, which users
do not see in the output. This could confuse users because, for
example, they could see more addresses in the output that what was
specified with --limit. This functionality can be correctly
reimplemented for address subcommand later.

Also useless values of --exclude flag were not included in the address
command.

This was inspired by a patch from Jani Nikula.
completion/notmuch-completion.bash
completion/notmuch-completion.zsh
doc/man1/notmuch-address.rst [new file with mode: 0644]
doc/man1/notmuch-search.rst
doc/man1/notmuch.rst
notmuch-client.h
notmuch-search.c
notmuch.c