[Top ][All Lists ]
[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
wrong option name in shuf
From :
Mikael Magnusson
Subject :
wrong option name in shuf
Date :
Sun, 27 Jul 2008 11:59:25 +0200 (CEST)
User-agent :
Alpine 1.00 (LNX )
Both the help output and the man page says --head-count, so I changed the
occurence in the source. I checked on savannah's gitweb and the bug
appears there too (I'm using 6.12).
--- a/src/shuf.c
+++ b/src/shuf.c
@@ -91,7 +91,7 @@ static struct option const long_opts[] =
{
{"echo", no_argument, NULL, 'e'},
{"input-range", required_argument, NULL, 'i'},
- {"head-count", required_argument, NULL, 'n'},
+ {"head-lines", required_argument, NULL, 'n'},
{"output", required_argument, NULL, 'o'},
{"random-source", required_argument, NULL, RANDOM_SOURCE_OPTION},
{"zero-terminated", no_argument, NULL, 'z'},
--
Mikael Magnusson
wrong option name in shuf ,
Mikael Magnusson <=