From 4696d3dabf597d9a001562e5bf0408581157651f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 11 Nov 2001 15:00:53 +0000 Subject: [PATCH] (usage): Split --help output into smaller pieces. Use fputs, not printf. --- src/unexpand.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/unexpand.c b/src/unexpand.c index ffc858b..ed9b0e3 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 .")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); -- 2.7.4