1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-28 11:29:09 +02:00

shuf: correctly document --head-count

* src/shuf.c (usage): Correct --help output.
* doc/coreutils.texi: Correct option listing.
* NEWS: Mention correction.
This commit is contained in:
Mikael Magnusson
2008-07-27 17:31:18 +02:00
committed by Jim Meyering
parent bee58d8a04
commit cbdcc9fb4e
3 changed files with 7 additions and 4 deletions
+3
View File
@@ -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,
+3 -3
View 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}
+1 -1
View 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\