summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_shutdown
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2018-08-27 13:31:04 +0200
committerAxel Beckert <abe@deuxchevaux.org>2018-08-27 13:31:04 +0200
commit719a715614f2182a76b30ad27a327d70a86f34f1 (patch)
treea437eb29da8035bf7c2e30506c08fe6f15719871 /Completion/Unix/Command/_shutdown
parent7da8d19c224860ae4d6aa3f077fca7f734f20d88 (diff)
parentef61918398517473b9b594690a3be375f607cebe (diff)
downloadzsh-719a715614f2182a76b30ad27a327d70a86f34f1.tar.gz
zsh-719a715614f2182a76b30ad27a327d70a86f34f1.zip
Merge tag 'zsh-5.5.1-test-2' into debian
Test release: 5.5.1-test-2.
Diffstat (limited to 'Completion/Unix/Command/_shutdown')
-rw-r--r--Completion/Unix/Command/_shutdown9
1 files changed, 7 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_shutdown b/Completion/Unix/Command/_shutdown
index 9726182a0..a237b14e0 100644
--- a/Completion/Unix/Command/_shutdown
+++ b/Completion/Unix/Command/_shutdown
@@ -27,8 +27,8 @@ case $OSTYPE in
'*:warning message'
)
;|
- *bsd*|dragonfly*|linux*)
- args=(
+ *bsd*|dragonfly*)
+ args+=(
'-p[turn off power after shutdown]'
)
;|
@@ -42,6 +42,11 @@ case $OSTYPE in
args+=(
'-o[execute halt or reboot instead of sending a signal to init]'
)
+ ;|
+ freebsd<12->.*)
+ args+=(
+ '-c[power cycle the system instead of halting if possible]'
+ )
;;
netbsd*)
args+=(