From: Jim Meyering Date: Sun, 11 Nov 2001 14:48:45 +0000 (+0000) Subject: (usage): Split --help output into smaller pieces. X-Git-Tag: TEXTUTILS-2_0_17~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70654669d5781e736fef065e24d8e81cec1bbff1;p=thirdparty%2Fcoreutils.git (usage): Split --help output into smaller pieces. Use fputs, not printf. --- diff --git a/src/tac.c b/src/tac.c index 2b0a2d8be6..62f673dd39 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);