]> git.ipfire.org Git - thirdparty/util-linux.git/commit
colrm: gotos, long options and argument checking
authorSami Kerola <kerolasa@iki.fi>
Mon, 23 May 2011 20:42:15 +0000 (22:42 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 8 Jun 2011 09:13:12 +0000 (11:13 +0200)
commit1647d032a7bfcba36d3dabe627b858b372210d05
treee2b60b61f47c809e46687a3f8202a60aecb16217
parentb07e72d9ec0e1578564887525cff3a62d9551492
colrm: gotos, long options and argument checking

Unnecessary goto jumps where replaced by a simple function, and
two loops. Long options support help and version, and the two
arguments this command has are now validated with strtoul_or_err.

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