summaryrefslogtreecommitdiff
path: root/src/wc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wc.c')
-rw-r--r--src/wc.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/wc.c b/src/wc.c
index 257e3f983..e8b120827 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -82,15 +82,14 @@ Usage: %s [OPTION]... [FILE]...\n\
",
program_name);
printf ("\
-\n\
- -c, --bytes, --chars print the byte counts\n\
+Print line, 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.\n\
-l, --lines print the newline counts\n\
-w, --words print the word counts\n\
+ -c, --bytes, --chars print the byte counts\n\
--help display this help and exit\n\
--version output version information and exit\n\
-\n\
-Print lines, words and bytes in that order. If none of -clw, select\n\
-them all. With no FILE, or when FILE is -, read standard input.\n\
");
}
exit (status);