summaryrefslogtreecommitdiff
path: root/src/wc.c
diff options
context:
space:
mode:
authorBenoît Knecht <benoit.knecht@fsfe.org>2011-07-11 23:10:33 +0200
committerPádraig Brady <P@draigBrady.com>2011-07-13 10:16:03 +0100
commit2c558fd0d36162559574b7696fe485913cdd9066 (patch)
treee66c011425b2910890f0978691af76c4594d8a87 /src/wc.c
parent7700751c5feff007a1b5054769d0e8d90638a62f (diff)
downloadcoreutils-2c558fd0d36162559574b7696fe485913cdd9066.tar.xz
doc: note the order in which wc counts are printed
This information has already been added to the Texinfo manual, but was missing from the --help output. * src/wc.c (usage): As above, for --help. Reported by Vincent Lefevre in http://bugs.debian.org/395430.
Diffstat (limited to 'src/wc.c')
-rw-r--r--src/wc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wc.c b/src/wc.c
index c4b5a9138..43b46a3b9 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -120,6 +120,8 @@ Print newline, word, and byte counts for each FILE, and a total line if\n\
more than one FILE is specified. With no FILE, or when FILE is -,\n\
read standard input. A word is a non-zero-length sequence of characters\n\
delimited by white space.\n\
+The options below may be used to select which counts are printed, always in\n\
+the following order: newline, word, character, byte, maximum line length.\n\
-c, --bytes print the byte counts\n\
-m, --chars print the character counts\n\
-l, --lines print the newline counts\n\