]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: show what verbs support --dry-run in the help page
authorBart Willems <bwillems@protonmail.com>
Mon, 16 Dec 2019 15:45:59 +0000 (16:45 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 17 Dec 2019 10:08:00 +0000 (11:08 +0100)
Signed-off-by: Bart Willems <bwillems@protonmail.com>
src/systemctl/systemctl.c

index 6a0e59a4d76cdabd48004109c0cff087c8f497b1..20e0d453d2a1f4f911d8a45a9407101dfd47d121 100644 (file)
@@ -7956,6 +7956,9 @@ static int systemctl_help(void) {
                "     --what=RESOURCES    Which types of resources to remove\n"
                "     --now               Start or stop unit after enabling or disabling it\n"
                "     --dry-run           Only print what would be done\n"
+               "                         Currently supported by verbs: halt, poweroff, reboot,\n"
+               "                             kexec, suspend, hibernate, suspend-then-hibernate,\n"
+               "                             hybrid-sleep, default, rescue, emergency, and exit.\n"
                "  -q --quiet             Suppress output\n"
                "     --wait              For (re)start, wait until service stopped again\n"
                "                         For is-system-running, wait until startup is completed\n"