From 86c5d7b93c6956ba0d102c685187d92e48d99951 Mon Sep 17 00:00:00 2001 From: Jesse Date: Sun, 19 Feb 2023 00:47:22 -0400 Subject: [PATCH] Fixed killall5 usage message to be more accurate. Command can accept more than one parameter and that is now mentioned. --- doc/Changelog | 2 ++ src/killall5.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/Changelog b/doc/Changelog index 8e4a70c..88435a2 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,6 +1,8 @@ sysvinit (3.07) released; urgency=low * Fixed killall5 so that processes in the omit list are not sent any signals, including SIGSTOP. + * Fixed usage message for killall5 to be more accurate. + sysvinit (3.06) released; urgency=low * Mark Hindley fixed typo in es.po diff --git a/src/killall5.c b/src/killall5.c index cd480de..992ce3e 100644 --- a/src/killall5.c +++ b/src/killall5.c @@ -873,7 +873,7 @@ PIDQ_HEAD *pidof(char *prog) /* Give usage message and exit. */ void usage(void) { - nsyslog(LOG_ERR, "only one argument, a signal number, allowed"); + nsyslog(LOG_ERR, "usage: killall5 -signum [-o omitpid] [-o omitpid] ..."); closelog(); exit(1); }