diff options
Diffstat (limited to 'Completion/Unix/Command/_shutdown')
-rw-r--r-- | Completion/Unix/Command/_shutdown | 9 |
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+=( |