From 2c558fd0d36162559574b7696fe485913cdd9066 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Knecht?= Date: Mon, 11 Jul 2011 23:10:33 +0200 Subject: [PATCH] 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. --- THANKS.in | 1 + src/wc.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/THANKS.in b/THANKS.in index 90d04d8329..867f0a8a04 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 c4b5a9138f..43b46a3b9c 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\ -- 2.47.3