summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-11 14:48:45 +0000
committerJim Meyering <jim@meyering.net>2001-11-11 14:48:45 +0000
commit70654669d5781e736fef065e24d8e81cec1bbff1 (patch)
treeda3b829a8a8dea2b882972e04e018603dc020140 /src
parent14c6978cc59f76f64ac3f70f5bd19a30f8109da8 (diff)
downloadcoreutils-70654669d5781e736fef065e24d8e81cec1bbff1.tar.xz
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Diffstat (limited to 'src')
-rw-r--r--src/tac.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tac.c b/src/tac.c
index 2b0a2d8be..62f673dd3 100644
--- a/src/tac.c
+++ b/src/tac.c
@@ -128,17 +128,19 @@ usage (int status)
Usage: %s [OPTION]... [FILE]...\n\
"),
program_name);
- printf (_("\
+ fputs (_("\
Write each FILE to standard output, last line first.\n\
With no FILE, or when FILE is -, read standard input.\n\
\n\
Mandatory arguments to long options are mandatory for short options too.\n\
-b, --before attach the separator before instead of after\n\
+"), stdout);
+ fputs (_("\
-r, --regex interpret the separator as a regular expression\n\
-s, --separator=STRING use STRING as the separator instead of newline\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);