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:
+2
-2
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user