Remove duplicated command in help message

"systemctl reboot" was present twice in the message, should be halt instead
This commit is contained in:
Martin Trigaux
2024-01-23 07:42:18 +01:00
committed by Luca Boccassi
parent 75283b6e3c
commit 3af9d86eb7

View File

@@ -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,