doc: note the order in which wc counts are printed
authorBenoît Knecht <benoit.knecht@fsfe.org>
Mon, 11 Jul 2011 21:10:33 +0000 (23:10 +0200)
committerPádraig Brady <P@draigBrady.com>
Wed, 13 Jul 2011 09:16:03 +0000 (10:16 +0100)
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.

THANKS.in
src/wc.c

index 90d04d8..867f0a8 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
@@ -590,6 +590,7 @@ Uwe H. Steinfeld                    usteinfeld@gmx.net
 Vesselin Atanasov                   vesselin@bgnet.bg
 Ville Skyttä                        ville.skytta@iki.fi
 Vin Shelton                         acs@alumni.princeton.edu
+Vincent Lefevre                     vincent@vinc17.org
 Vineet Chadha                       chadha@acis.ufl.edu
 Vitali Lovich                       vlovich@gmail.com
 Vitaly A. Ostanin                   vyt@altlinux.org
index c4b5a91..43b46a3 100644 (file)
--- 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\