]> git.notmuchmail.org Git - notmuch/commit
cli: Add support for parsing keyword-flag arguments
authorJani Nikula <jani@nikula.org>
Fri, 31 Oct 2014 21:53:56 +0000 (22:53 +0100)
committerDavid Bremner <david@tethera.net>
Sat, 1 Nov 2014 07:02:21 +0000 (08:02 +0100)
commitecc4a9a6441a3b7011d9afb2ca67e9d4ea1fca48
tree3c8f3ee740b6f3d418c0c3d781bfb3eac4904b1c
parentdc398119482b58be5f46cf636127794a002b36e6
cli: Add support for parsing keyword-flag arguments

This allows having multiple --foo=bar --foo=baz options on the command
line, with the corresponding values OR'd together.

[Test added by Michal Sojka]
command-line-arguments.c
command-line-arguments.h
test/T410-argument-parsing.sh
test/arg-test.c