From d3632f3571bb7d0620da366b46301fb406438d91 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 4 Apr 2005 21:57:04 +0000 Subject: [PATCH] (usage): Mention that some shells provide a built-in function by the same name. --- src/kill.c | 3 ++- src/printf.c | 1 + src/pwd.c | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/kill.c b/src/kill.c index 9798455b96..6b8455ffef 100644 --- a/src/kill.c +++ b/src/kill.c @@ -1,5 +1,5 @@ /* kill -- send a signal to a process - Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004, 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 @@ -97,6 +97,7 @@ Usage: %s [-s SIGNAL | -SIGNAL] PID...\n\ or: %s -t [SIGNAL]...\n\ "), program_name, program_name, program_name); + printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); fputs (_("\ Send signals to processes, or list signals.\n\ \n\ diff --git a/src/printf.c b/src/printf.c index 23db3ce018..57ff2c50c3 100644 --- a/src/printf.c +++ b/src/printf.c @@ -101,6 +101,7 @@ Usage: %s FORMAT [ARGUMENT]...\n\ or: %s OPTION\n\ "), program_name, program_name); + printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); fputs (_("\ Print ARGUMENT(s) according to FORMAT.\n\ \n\ diff --git a/src/pwd.c b/src/pwd.c index 787f46582e..f272b688d8 100644 --- a/src/pwd.c +++ b/src/pwd.c @@ -1,5 +1,5 @@ /* pwd - print current directory - Copyright (C) 1994-1997, 1999-2004 Free Software Foundation, Inc. + Copyright (C) 1994-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 @@ -64,6 +64,7 @@ usage (int status) else { printf (_("Usage: %s [OPTION]\n"), program_name); + printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME); fputs (_("\ Print the full filename of the current working directory.\n\ \n\ -- 2.47.3