Re: [PATCH 08/16] lib: copy argmatch from gnulib

Sami Kerola
2013-05-07T21:14:17Z

On 6 May 2013 18:16, Karel Zak <kzak@redhat.com> wrote:
> On Thu, May 02, 2013 at 07:51:33PM +0100, Sami Kerola wrote:
>> Both argmatch.h and argmatch.c are copied from gnulib.
>
> Ah no... this is overkill, all we need is to parse three words.
>
> I have updated lib/colors.c and dmesg.c to support color modes 'auto',
> 'never' and 'always'. Please, use it also in cal.c.

I thought there might be other uses to argmatch, but perhaps there
isn't. I changed the cal to use lib/colors.c argument parsing in
'cal-again' branch.

https://github.com/kerolasa/lelux-utiliteetit/commit/a33225e623b389e49d05b665104dcdef17e01502

--
Sami Kerola