diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-11 13:41:19 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-11 13:41:19 +0000 |
commit | 2237d0c5d149c6caaa27440070d14261b4a57673 (patch) | |
tree | b30db2ac97b6981431b62654338a17d7ae4b92e7 /src | |
parent | 2bf54d98be548ded53dcce49c24865eafd5c086a (diff) | |
download | coreutils-2237d0c5d149c6caaa27440070d14261b4a57673.tar.xz |
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Diffstat (limited to 'src')
-rw-r--r-- | src/cat.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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>.")); } |