From: Martin Trigaux Date: Tue, 23 Jan 2024 06:42:18 +0000 (+0100) Subject: Remove duplicated command in help message X-Git-Tag: v256-rc1~1072 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3af9d86eb7f2030cb6f7a207cfbad7eec23631ca;p=thirdparty%2Fsystemd.git Remove duplicated command in help message "systemctl reboot" was present twice in the message, should be halt instead --- diff --git a/src/systemctl/systemctl-compat-shutdown.c b/src/systemctl/systemctl-compat-shutdown.c index 881d00e0a42..c5b4cb4e8cb 100644 --- a/src/systemctl/systemctl-compat-shutdown.c +++ b/src/systemctl/systemctl-compat-shutdown.c @@ -35,7 +35,7 @@ static int shutdown_help(void) { " --no-wall Don't send wall message before halt/power-off/reboot\n" " -c Cancel a pending shutdown\n" " --show Show pending shutdown\n" - "\n%sThis is a compatibility interface, please use the more powerful 'systemctl reboot',\n" + "\n%sThis is a compatibility interface, please use the more powerful 'systemctl halt',\n" "'systemctl poweroff', 'systemctl reboot' commands instead.%s\n" "\nSee the %s for details.\n", program_invocation_short_name,