From d7c526e66d7c4d3d11ca80c141b9fae18f0a9668 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 26 Oct 1993 00:11:14 +0000 Subject: merge with 1.8.1i --- src/tty.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/tty.c') diff --git a/src/tty.c b/src/tty.c index 83e3512ae..4b7aaa075 100644 --- a/src/tty.c +++ b/src/tty.c @@ -123,22 +123,18 @@ static void usage (status) int status; { - fprintf (status == 0 ? stdout : stderr, "\ -Usage: %s [OPTION]...\n\ -", - program_name); - if (status != 0) fprintf (stderr, "Try `%s --help' for more information.\n", program_name); else - - printf ("\ + { + printf ("Usage: %s [OPTION]...\n", program_name); + printf ("\ \n\ -s, --silent, --quiet print nothing, only return an exit status\n\ --help display this help and exit\n\ --version output version information and exit\n\ "); - + } exit (status); } -- cgit v1.2.3-54-g00ecf