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:
committed by
Jim Meyering
parent
bee58d8a04
commit
cbdcc9fb4e
@@ -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
@@ -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
@@ -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\
|
||||
|
||||
Reference in New Issue
Block a user