From 0a4eb2d85d39ef951b229fc01f833cc5f4fbfe87 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sat, 9 Jun 2018 15:23:06 +0000 Subject: 42968: add "-c" for _shutdown completion on FreeBSD 12-current --- Completion/Unix/Command/_shutdown | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Completion/Unix/Command/_shutdown') diff --git a/Completion/Unix/Command/_shutdown b/Completion/Unix/Command/_shutdown index 4119502fb..a237b14e0 100644 --- a/Completion/Unix/Command/_shutdown +++ b/Completion/Unix/Command/_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+=( -- cgit 1.4.1