]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
shuf: correctly document --head-count
authorMikael Magnusson <mikachu@gmail.com>
Sun, 27 Jul 2008 15:31:18 +0000 (17:31 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 27 Jul 2008 20:18:06 +0000 (22:18 +0200)
* src/shuf.c (usage): Correct --help output.
* doc/coreutils.texi: Correct option listing.
* NEWS: Mention correction.

NEWS
doc/coreutils.texi
src/shuf.c

diff --git a/NEWS b/NEWS
index 3be1ad467144cf83d5448219d0f0547672e7b85b..196dc48f5f5cecd856eda0b1164e2fb258f34036 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -40,6 +40,9 @@ GNU coreutils NEWS                                    -*- outline -*-
   od no longer suffers from platform bugs in printf(3).  This is
   probably most noticeable when using 'od -tfL' to print long doubles.
 
+  shuf --head-count is now correctly documented.  The documentation
+  previously claimed it was called --head-lines.
+
 ** Improvements
 
   Improved support for access control lists (ACLs): On MacOS X, Solaris 7..10,
index 8eb8ac9da4fe26335ea2d9cacf64b3c944539812..76b22e44de0b7884f40f7e4bdb4c2b0cc56a8c43 100644 (file)
@@ -4176,11 +4176,11 @@ operation modes:
 @table @samp
 
 @item -n @var{lines}
-@itemx --head-lines=@var{lines}
+@itemx --head-count=@var{count}
 @opindex -n
-@opindex --head-lines
+@opindex --head-count
 @cindex head of output
-Output at most @var{lines} lines.  By default, all input lines are
+Output at most @var{count} lines.  By default, all input lines are
 output.
 
 @item -o @var{output-file}
index 5e07d6e49258b401a2ee0a0b2fca15dba65cfd39..977eedc0a5f00d6bec27bcb94e80197ff3fdb380 100644 (file)
@@ -60,7 +60,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
       fputs (_("\
   -e, --echo                treat each ARG as an input line\n\
   -i, --input-range=LO-HI   treat each number LO through HI as an input line\n\
-  -n, --head-lines=LINES    output at most LINES lines\n\
+  -n, --head-count=COUNT    output at most COUNT lines\n\
   -o, --output=FILE         write result to FILE instead of standard output\n\
       --random-source=FILE  get random bytes from FILE (default /dev/urandom)\n\
   -z, --zero-terminated     end lines with 0 byte, not newline\n\