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 --- ChangeLog | 3 +++ Completion/Unix/Command/_shutdown | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 10a3ce566..9bf441814 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2018-06-09 Oliver Kiddle + * 42968: Eitan Adler: Completion/Unix/Command/_shutdown: + add "-c" for _shutdown completion on FreeBSD 12-current + * 42965: dana: Completion/Unix/Command/_bash, Completion/Unix/Command/_sh: add full completion for bash 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 v1.2.3