summaryrefslogtreecommitdiff
path: root/src/kill.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-12-15 20:46:30 +0000
committerJim Meyering <jim@meyering.net>2001-12-15 20:46:30 +0000
commit2fae9e5d26536fc61ad06a3d295c9bb8e40d215e (patch)
tree95b997f03d6570981ce5d104a4500b6ffd446768 /src/kill.c
parent9be58099c4347a6bc27609b88b5f3ac8c1e054ac (diff)
downloadcoreutils-2fae9e5d26536fc61ad06a3d295c9bb8e40d215e.tar.xz
Use new macros, HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION
instead of hard-coding --help and --version descriptions. Split --help output into smaller pieces. Use fputs, not printf.
Diffstat (limited to 'src/kill.c')
-rw-r--r--src/kill.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kill.c b/src/kill.c
index 2be53d955..d0c8ea84f 100644
--- a/src/kill.c
+++ b/src/kill.c
@@ -327,7 +327,7 @@ Usage: %s [-s SIGSPEC | -n SIGNUM | -SIGSPEC] PID ...\n\
or: %s -l [SIGSPEC] ...\n\
"),
program_name, program_name);
- printf (_("\
+ fputs (_("\
Send the signal named by SIGSPEC or SIGNUM to processes named by PID.\n\
\n\
-s, --" OPT_SIGSPEC_LONG " SIGSPEC name or number of signal to be sent\n\
@@ -336,14 +336,14 @@ Send the signal named by SIGSPEC or SIGNUM to processes named by PID.\n\
-l, --list list the signal names\n\
-L, --long-list list the signal names with their numbers\n\
\n\
- --help display this help and exit\n\
- --version output version information and exit\n\
-"));
- printf (_("\
+"), stdout);
+ fputs (HELP_OPTION_DESCRIPTION, stdout);
+ fputs (VERSION_OPTION_DESCRIPTION, stdout);
+ fputs (_("\
\n\
kill returns true if at least one signal was successfully sent, or\n\
false if an error occurs or an invalid option is encountered.\n\
-"));
+"), stdout);
puts (_("\nReport bugs to <bug-sh-utils@gnu.org>."));
}
exit (status);