warnings: separate flags_argmatch
authorTheophile Ranquet <theophile.ranquet@gmail.com>
Mon, 1 Oct 2012 15:01:03 +0000 (15:01 +0000)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 1 Oct 2012 13:48:59 +0000 (15:48 +0200)
commit20964c33f91dc49b9f1b97a85505dd69776fe41c
tree1b5eca4d1c97d49d120f26412504f755411a424c
parenta686f6cdc0077cea9f705f3c87bb8fc4fa27e1b4
warnings: separate flags_argmatch

This function is now a mere iterator that calls flag_argmatch,
a new function, that matches a single option parameter.

* src/getargs.c (flag_argmatch): New, taken from...
(flags_argmatch): Here.

Signed-off-by: Akim Demaille <akim@lrde.epita.fr>
src/getargs.c