diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-11 14:48:45 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-11 14:48:45 +0000 |
commit | 70654669d5781e736fef065e24d8e81cec1bbff1 (patch) | |
tree | da3b829a8a8dea2b882972e04e018603dc020140 /src | |
parent | 14c6978cc59f76f64ac3f70f5bd19a30f8109da8 (diff) | |
download | coreutils-70654669d5781e736fef065e24d8e81cec1bbff1.tar.xz |
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Diffstat (limited to 'src')
-rw-r--r-- | src/tac.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |