]> git.notmuchmail.org Git - notmuch/commit
completion: complete shared options for each command
authorJani Nikula <jani@nikula.org>
Sat, 17 Oct 2015 16:30:02 +0000 (19:30 +0300)
committerDavid Bremner <david@tethera.net>
Thu, 22 Oct 2015 00:29:20 +0000 (21:29 -0300)
commitcd4814ecb35c63152aced04fcb82e5facf1463ca
tree12867eceecffc3c4f9d8b8855c35b873a3a2e857
parent326824aee38c64ce80c50feac92c10dba4bb4879
completion: complete shared options for each command

Add support for completing --help, --uuid=, and --version after the
subcommand. Do not support shared options at the top level yet due to
difficulties in handling options with arguments.

--uuid necessitates adding 'compopt -o nospace' also to notmuch new
completion, but that just brings it in line with the rest.
completion/notmuch-completion.bash