diff options
author | Jim Meyering <jim@meyering.net> | 2004-01-21 23:47:17 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-01-21 23:47:17 +0000 |
commit | 69e2df952eafbb78a9c8bf7b5898d7aad7e5bffd (patch) | |
tree | fbc2f77ed1d2dc44671c4f92462b54c24bc38909 /src/unexpand.c | |
parent | 88a8689c36865fc25a83928168fe639b50638343 (diff) | |
download | coreutils-69e2df952eafbb78a9c8bf7b5898d7aad7e5bffd.tar.xz |
(usage): Use EXIT_SUCCESS, not 0, for clarity.
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.
Diffstat (limited to 'src/unexpand.c')
-rw-r--r-- | src/unexpand.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unexpand.c b/src/unexpand.c index c65c210a9..2ac445966 100644 --- a/src/unexpand.c +++ b/src/unexpand.c @@ -1,5 +1,5 @@ /* unexpand - convert spaces to tabs - Copyright (C) 89, 91, 1995-2003 Free Software Foundation, Inc. + Copyright (C) 89, 91, 1995-2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -369,7 +369,7 @@ unexpand (void) void usage (int status) { - if (status != 0) + if (status != EXIT_SUCCESS) fprintf (stderr, _("Try `%s --help' for more information.\n"), program_name); else @@ -396,7 +396,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ fputs (VERSION_OPTION_DESCRIPTION, stdout); printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } - exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); + exit (status); } int |