systemctl: show what verbs support --dry-run in the help page

Signed-off-by: Bart Willems <bwillems@protonmail.com>
This commit is contained in:
Bart Willems
2019-12-17 11:08:00 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent c16782577b
commit 4afb4a9cc5
+3
View 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"