]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Remove duplicated command in help message
authorMartin Trigaux <me@mart-e.be>
Tue, 23 Jan 2024 06:42:18 +0000 (07:42 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 23 Jan 2024 10:44:36 +0000 (10:44 +0000)
"systemctl reboot" was present twice in the message, should be halt instead

src/systemctl/systemctl-compat-shutdown.c

index 881d00e0a42e039a063082ef991eba8a1318d999..c5b4cb4e8cbb89a1b7ab5bcbcce8ca61ddf7642b 100644 (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,