summaryrefslogtreecommitdiff
path: root/src/cat.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-11 13:41:19 +0000
committerJim Meyering <jim@meyering.net>2001-11-11 13:41:19 +0000
commit2237d0c5d149c6caaa27440070d14261b4a57673 (patch)
treeb30db2ac97b6981431b62654338a17d7ae4b92e7 /src/cat.c
parent2bf54d98be548ded53dcce49c24865eafd5c086a (diff)
downloadcoreutils-2237d0c5d149c6caaa27440070d14261b4a57673.tar.xz
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Diffstat (limited to 'src/cat.c')
-rw-r--r--src/cat.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/cat.c b/src/cat.c
index 16e7bd601..9d96e4072 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -93,7 +93,7 @@ usage (int status)
Usage: %s [OPTION] [FILE]...\n\
"),
program_name);
- printf (_("\
+ fputs (_("\
Concatenate FILE(s), or standard input, to standard output.\n\
\n\
-A, --show-all equivalent to -vET\n\
@@ -102,6 +102,8 @@ Concatenate FILE(s), or standard input, to standard output.\n\
-E, --show-ends display $ at end of each line\n\
-n, --number number all output lines\n\
-s, --squeeze-blank never more than one single blank line\n\
+"), stdout);
+ fputs (_("\
-t equivalent to -vT\n\
-T, --show-tabs display TAB characters as ^I\n\
-u (ignored)\n\
@@ -110,12 +112,12 @@ Concatenate FILE(s), or standard input, to standard output.\n\
--version output version information and exit\n\
\n\
With no FILE, or when FILE is -, read standard input.\n\
-"));
+"), stdout);
#if O_BINARY
- printf (_("\
+ fputs (_("\
\n\
-B, --binary use binary writes to the console device.\n\n\
-"));
+"), stdout);
#endif
puts (_("\nReport bugs to <bug-textutils@gnu.org>."));
}