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/expr.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/expr.c') diff --git a/src/expr.c b/src/expr.c index 22e7e83cc..26c4ffa0d 100644 --- a/src/expr.c +++ b/src/expr.c @@ -46,7 +46,7 @@ #include "system.h" #include "version.h" -#include "long-option.h" +#include "long-options.h" #if !defined (isascii) || defined (STDC_HEADERS) #undef isascii @@ -110,18 +110,17 @@ static void usage (status) int status; { - fprintf (status == 0 ? stdout : stderr, "\ -Usage: %s EXPRESSION\n\ - or: %s OPTION\n\ -", - program_name, program_name); - if (status != 0) fprintf (stderr, "Try `%s --help' for more information.\n", program_name); else { printf ("\ +Usage: %s EXPRESSION\n\ + or: %s OPTION\n\ +", + program_name, program_name); + printf ("\ \n\ --help display this help and exit\n\ --version output version information and exit\n\ @@ -166,7 +165,6 @@ Pattern matches return the string matched between \\( and \\) or null; if\n\ \\( and \\) are not used, they return the number of characters matched or 0.\n\ "); } - exit (status); } -- cgit v1.2.3-54-g00ecf