diff options
author | Martin Trigaux <me@mart-e.be> | 2024-01-23 07:42:18 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-01-23 11:44:36 +0100 |
commit | 3af9d86eb7f2030cb6f7a207cfbad7eec23631ca (patch) | |
tree | 2dc548c225fb015f8b371194b8ebbf8b6dc238ba /src/systemctl | |
parent | Merge pull request #31053 from intelfx/work/machinectl-zsh (diff) | |
download | systemd-3af9d86eb7f2030cb6f7a207cfbad7eec23631ca.tar.xz systemd-3af9d86eb7f2030cb6f7a207cfbad7eec23631ca.zip |
Remove duplicated command in help message
"systemctl reboot" was present twice in the message, should be halt instead
Diffstat (limited to 'src/systemctl')
-rw-r--r-- | src/systemctl/systemctl-compat-shutdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl-compat-shutdown.c b/src/systemctl/systemctl-compat-shutdown.c index 881d00e0a4..c5b4cb4e8c 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, |