From 70654669d5781e736fef065e24d8e81cec1bbff1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 11 Nov 2001 14:48:45 +0000 Subject: (usage): Split --help output into smaller pieces. Use fputs, not printf. --- src/tac.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/tac.c') 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 .")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); -- cgit v1.2.3-54-g00ecf