diff options
author | Jim Meyering <jim@meyering.net> | 1993-10-26 00:11:14 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-10-26 00:11:14 +0000 |
commit | d7c526e66d7c4d3d11ca80c141b9fae18f0a9668 (patch) | |
tree | 6aad3a466a53d24a42c6b94a98edd429ff3e95b8 /src/test.c | |
parent | cfe240bbd8520c852962f5feac1cfc5cf4903eb4 (diff) | |
download | coreutils-d7c526e66d7c4d3d11ca80c141b9fae18f0a9668.tar.xz |
merge with 1.8.1i
Diffstat (limited to 'src/test.c')
-rw-r--r-- | src/test.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/test.c b/src/test.c index c3d5c54cb..a4fd543dc 100644 --- a/src/test.c +++ b/src/test.c @@ -1008,25 +1008,24 @@ posixtest () } #if defined (TEST_STANDALONE) -#include "long-option.h" +#include "long-options.h" static void usage (status) int status; { - fprintf (status == 0 ? stdout : stderr, "\ -Usage: %s EXPRESSION\n\ - or: [ 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: [ 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\ @@ -1087,7 +1086,6 @@ Beware that parentheses need to be escaped by backslashes for shells.\n\ INTEGER may also be -l STRING, which evaluates to the length of STRING.\n\ "); } - exit (status); } #endif /* TEST_STANDALONE */ |