]> rtime.felk.cvut.cz Git - notmuch.git/commit
cli: Add support for parsing keyword-flag arguments
authorJani Nikula <jani@nikula.org>
Sat, 6 Sep 2014 12:53:28 +0000 (15:53 +0300)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 30 Oct 2014 23:46:15 +0000 (00:46 +0100)
commitb467d557c50043c7454f1e54b093e07c52c33533
tree484fbe05e47ae083ff7d359ed84dc1c53246c68e
parentb91396cf3858217e6b181fda99f2e95d20dd0471
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