From 4afb4a9cc574caccb1bca1de0e4012fd0ac37128 Mon Sep 17 00:00:00 2001 From: Bart Willems Date: Mon, 16 Dec 2019 16:45:59 +0100 Subject: [PATCH] systemctl: show what verbs support --dry-run in the help page Signed-off-by: Bart Willems --- src/systemctl/systemctl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 6a0e59a4d7..20e0d453d2 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"