summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-11 13:38:18 +0000
committerJim Meyering <jim@meyering.net>2001-11-11 13:38:18 +0000
commitcfcf052439b6884fe4627f63aa4d7c4d250ccdd2 (patch)
tree193768f587678e670b82ea2e0742cda90ab9cbf2 /src
parent04b632033879392e3ffaf39ddfa703b96f77d105 (diff)
downloadcoreutils-cfcf052439b6884fe4627f63aa4d7c4d250ccdd2.tar.xz
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Diffstat (limited to 'src')
-rw-r--r--src/wc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wc.c b/src/wc.c
index 5248acdcd..f92f124a3 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -125,18 +125,20 @@ usage (int status)
Usage: %s [OPTION]... [FILE]...\n\
"),
program_name);
- printf (_("\
+ fputs (_("\
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.\n\
-c, --bytes print the byte counts\n\
-m, --chars print the character counts\n\
-l, --lines print the newline counts\n\
+"), stdout);
+ fputs (_("\
-L, --max-line-length print the length of the longest line\n\
-w, --words print the word counts\n\
--help display this help and exit\n\
--version output version information and exit\n\
-"));
+"), stdout);
puts (_("\nReport bugs to <bug-textutils@gnu.org>."));
}
exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE);