1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-26 10:39:01 +02:00

(usage): Use EXIT_SUCCESS, not 0, for clarity.

This commit is contained in:
Jim Meyering
2004-01-21 23:38:15 +00:00
parent c979cdc1e3
commit f1c86ce433
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/* pathchk -- check whether pathnames are valid or portable
Copyright (C) 1991-2003 Free Software Foundation, Inc.
Copyright (C) 1991-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
@@ -132,7 +132,7 @@ pathconf_wrapper (const char *filename, int param)
void
usage (int status)
{
if (status != 0)
if (status != EXIT_SUCCESS)
fprintf (stderr, _("Try `%s --help' for more information.\n"),
program_name);
else
+2 -2
View File
@@ -1,5 +1,5 @@
/* GNU's pinky.
Copyright (C) 1992-1997, 1999-2003 Free Software Foundation, Inc.
Copyright (C) 1992-1997, 1999-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
@@ -460,7 +460,7 @@ long_pinky (const int argc_names, char *const argv_names[])
void
usage (int status)
{
if (status != 0)
if (status != EXIT_SUCCESS)
fprintf (stderr, _("Try `%s --help' for more information.\n"),
program_name);
else