summaryrefslogtreecommitdiff
path: root/src/expand.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-11 13:52:50 +0000
committerJim Meyering <jim@meyering.net>2001-11-11 13:52:50 +0000
commit1f7d9dacf425be80a8702bc7bc08ed68606391a0 (patch)
treec5dc731f6d57245f7191ecb557518bfd12d3e2ac /src/expand.c
parent2237d0c5d149c6caaa27440070d14261b4a57673 (diff)
downloadcoreutils-1f7d9dacf425be80a8702bc7bc08ed68606391a0.tar.xz
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Diffstat (limited to 'src/expand.c')
-rw-r--r--src/expand.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/expand.c b/src/expand.c
index 4a7f1f9b3..32749ce3e 100644
--- a/src/expand.c
+++ b/src/expand.c
@@ -110,19 +110,21 @@ usage (int status)
Usage: %s [OPTION]... [FILE]...\n\
"),
program_name);
- printf (_("\
+ fputs (_("\
Convert tabs in each FILE to spaces, writing to standard output.\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\
-i, --initial do not convert TABs after non whitespace\n\
-t, --tabs=NUMBER have tabs NUMBER characters apart, not 8\n\
+"), stdout);
+ fputs (_("\
-t, --tabs=LIST use comma separated list of explicit tab positions\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
Instead of -t NUMBER or -t LIST, -NUMBER or -LIST may be used.\n\
-"));
+"), stdout);
puts (_("\nReport bugs to <bug-textutils@gnu.org>."));
}
exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE);