]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(usage): Mention that some shells provide a built-in
authorJim Meyering <jim@meyering.net>
Mon, 4 Apr 2005 21:57:04 +0000 (21:57 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 4 Apr 2005 21:57:04 +0000 (21:57 +0000)
function by the same name.

src/kill.c
src/printf.c
src/pwd.c

index 9798455b96cec14afd97dad73c7dfb8a181c4d20..6b8455ffefff7a39edffb9a456b415cce08d69be 100644 (file)
@@ -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\
index 23db3ce0187d5aea48c1df719d2962cc6690fd4a..57ff2c50c3b30c715499ac9b8d5cfb081ce31591 100644 (file)
@@ -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\
index 787f46582e2b1a4ee38709414bba4f964f5d72fe..f272b688d88e69e60f8119ea17e3ffb0227665cd 100644 (file)
--- 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\