From 2237d0c5d149c6caaa27440070d14261b4a57673 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 11 Nov 2001 13:41:19 +0000 Subject: (usage): Split --help output into smaller pieces. Use fputs, not printf. --- src/cat.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/cat.c') diff --git a/src/cat.c b/src/cat.c index 16e7bd601..9d96e4072 100644 --- a/src/cat.c +++ b/src/cat.c @@ -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 .")); } -- cgit v1.2.3-54-g00ecf