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


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to