From: Jim Meyering Date: Tue, 5 Apr 2005 11:53:47 +0000 (+0000) Subject: (usage): Mention that some shells provide a built-in function by the same name. X-Git-Tag: CPPI-1_12~1104 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=44ebdc8d01e3338dab40ba3891d1bc97551b62a9;p=thirdparty%2Fcoreutils.git (usage): Mention that some shells provide a built-in function by the same name. --- diff --git a/src/nice.c b/src/nice.c index 0871343ba7..689fa49dd3 100644 --- a/src/nice.c +++ b/src/nice.c @@ -87,6 +87,7 @@ With no COMMAND, print the current nice value. Nice values range from\n\ - NZERO, NZERO - 1); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); + printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status); diff --git a/src/printenv.c b/src/printenv.c index b006b5d328..3b009c71f8 100644 --- a/src/printenv.c +++ b/src/printenv.c @@ -1,5 +1,5 @@ /* printenv -- print all or part of environment - Copyright (C) 1989-1997, 1999-2004 Free Software Foundation, Inc. + Copyright (C) 1989-1997, 1999-2005 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 @@ -67,6 +67,7 @@ If no environment VARIABLE specified, print them all.\n\ program_name, program_name); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); + printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status);