summaryrefslogtreecommitdiffstats
path: root/src/systemctl/systemctl.c
diff options
context:
space:
mode:
authorBart Willems <bwillems@protonmail.com>2019-12-16 16:45:59 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-12-17 11:08:00 +0100
commit4afb4a9cc574caccb1bca1de0e4012fd0ac37128 (patch)
tree71021b7369a00fd39c411bd5b0139d229ec014de /src/systemctl/systemctl.c
parentMerge pull request #14241 from keszybz/resume-timeout (diff)
downloadsystemd-4afb4a9cc574caccb1bca1de0e4012fd0ac37128.tar.xz
systemd-4afb4a9cc574caccb1bca1de0e4012fd0ac37128.zip
systemctl: show what verbs support --dry-run in the help page
Signed-off-by: Bart Willems <bwillems@protonmail.com>
Diffstat (limited to '')
-rw-r--r--src/systemctl/systemctl.c3
1 files changed, 3 insertions, 0 deletions
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"