cli: convert "notmuch new" to the argument parser
authorJani Nikula <jani@nikula.org>
Mon, 3 Dec 2012 20:56:13 +0000 (22:56 +0200)
committerDavid Bremner <bremner@debian.org>
Tue, 4 Dec 2012 13:10:33 +0000 (09:10 -0400)
commit11365abb90b63af785f5b8ad73e0cbcefc567dce
tree2dffc688fc19ad876f3f671c895236388fa948b1
parent8ce50f300fd94dc999ea39eef1ac64e466ebdd0e
cli: convert "notmuch new" to the argument parser

Use the notmuch argument parser to handle arguments in "notmuch
new". As a side effect, this fixes broken STRNCMP_LITERAL usage that
accepts, for example, --verbosefoo for --verbose.
notmuch-new.c