From 3af9d86eb7f2030cb6f7a207cfbad7eec23631ca Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Tue, 23 Jan 2024 07:42:18 +0100 Subject: [PATCH] Remove duplicated command in help message "systemctl reboot" was present twice in the message, should be halt instead --- src/systemctl/systemctl-compat-shutdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.47.3