From: Benoît Knecht Date: Mon, 11 Jul 2011 21:10:33 +0000 (+0200) Subject: doc: note the order in which wc counts are printed X-Git-Tag: v8.13~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c558fd0d36162559574b7696fe485913cdd9066;p=platform%2Fupstream%2Fcoreutils.git 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. --- diff --git a/THANKS.in b/THANKS.in index 90d04d8..867f0a8 100644 --- 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 diff --git a/src/wc.c b/src/wc.c index c4b5a91..43b46a3 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\