]> git.ipfire.org Git - thirdparty/util-linux.git/commit - misc-utils/cal.c
cal: argument checking, long options and argument checking
authorSami Kerola <kerolasa@iki.fi>
Sat, 25 Jun 2011 11:38:47 +0000 (13:38 +0200)
committerSami Kerola <kerolasa@iki.fi>
Sat, 25 Jun 2011 11:38:47 +0000 (13:38 +0200)
commit022df321b1429c2947210d134e4523921b4029f4
tree4afb1c210fc5b51fc76b8bc1aaaa6c45670a9c3a
parent30ad62d06fef4df3cd93a04c5061f8f2510fca90
cal: argument checking, long options and argument checking

Check numeric user inputs with strtol_on_err. Add long options
with nice looking usage.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/Makefile.am
misc-utils/cal.c