From: Bart Willems Date: Mon, 16 Dec 2019 15:45:59 +0000 (+0100) Subject: systemctl: show what verbs support --dry-run in the help page X-Git-Tag: v245-rc1~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4afb4a9cc574caccb1bca1de0e4012fd0ac37128;p=thirdparty%2Fsystemd.git systemctl: show what verbs support --dry-run in the help page Signed-off-by: Bart Willems --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 6a0e59a4d76..20e0d453d2a 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -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"