]> 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>
Mon, 27 Oct 2014 13:07:22 +0000 (14:07 +0100)
commita4f17f72824b41930adf4d99508f31a1b100886e
treed65d4043e36bfe1fbee530cbdbaf9a0fc4cd19dc
parent7362ec93839da89ff46a27d05510e20b1c13ee25
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