]> git.notmuchmail.org Git - notmuch/commit
config: Check 'config get' arity exactly
authorPeter Wang <novalazy@gmail.com>
Sat, 14 Apr 2012 01:41:02 +0000 (11:41 +1000)
committerDavid Bremner <bremner@debian.org>
Sat, 28 Apr 2012 13:13:55 +0000 (10:13 -0300)
commit371f3b12a671e3bd955a5e589bd705e3d254d57b
treec705f02f7d99c7a861a015b73c5fbbe80e38167d
parent7bfc4bf501af2207123135065b08bd4874446de8
config: Check 'config get' arity exactly

Require that 'config get' is passed exactly one additional argument,
instead of silently ignoring extra arguments. As a side-effect, produce
more specific error messages for the 'config' command as a whole.
notmuch-config.c