summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-04-04 21:57:04 +0000
committerJim Meyering <jim@meyering.net>2005-04-04 21:57:04 +0000
commitd3632f3571bb7d0620da366b46301fb406438d91 (patch)
tree8d7dad93f90ea535e2812b040bdfcf4b10406e70
parentd209b0f75ea1bcdc297850cd6999fdb98662d125 (diff)
downloadcoreutils-d3632f3571bb7d0620da366b46301fb406438d91.tar.xz
(usage): Mention that some shells provide a built-in
function by the same name.
-rw-r--r--src/kill.c3
-rw-r--r--src/printf.c1
-rw-r--r--src/pwd.c3
3 files changed, 5 insertions, 2 deletions
diff --git a/src/kill.c b/src/kill.c
index 9798455b9..6b8455ffe 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 23db3ce01..57ff2c50c 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 787f46582..f272b688d 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\