On 6 May 2013 18:16, Karel Zak <kzak@xxxxxxxxxx> 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 http://www.iki.fi/kerolasa/ -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html