summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-11 15:00:53 +0000
committerJim Meyering <jim@meyering.net>2001-11-11 15:00:53 +0000
commit4696d3dabf597d9a001562e5bf0408581157651f (patch)
tree5a7e76dd0d7b3c6bf822b7d60482d4394b8a3a56
parentfa3228b72d77bd0c86eff9549480e16184c239ca (diff)
downloadcoreutils-4696d3dabf597d9a001562e5bf0408581157651f.tar.xz
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
-rw-r--r--src/unexpand.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/unexpand.c b/src/unexpand.c
index ffc858baf..ed9b0e3f6 100644
--- a/src/unexpand.c
+++ b/src/unexpand.c
@@ -376,19 +376,21 @@ usage (int status)
Usage: %s [OPTION]... [FILE]...\n\
"),
program_name);
- printf (_("\
+ fputs (_("\
Convert spaces in each FILE to tabs, 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\
-a, --all convert all whitespace, instead of initial whitespace\n\
+"), stdout);
+ fputs (_("\
-t, --tabs=NUMBER have tabs NUMBER characters apart instead of 8\n\
-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);