summaryrefslogtreecommitdiffstats
path: root/Completion/BSD/Command
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/BSD/Command')
-rw-r--r--Completion/BSD/Command/_fw_update4
-rw-r--r--Completion/BSD/Command/_rcctl4
2 files changed, 6 insertions, 2 deletions
diff --git a/Completion/BSD/Command/_fw_update b/Completion/BSD/Command/_fw_update
index 84b5f808d..f09dcf61c 100644
--- a/Completion/BSD/Command/_fw_update
+++ b/Completion/BSD/Command/_fw_update
@@ -3,10 +3,12 @@
_arguments -s -S -A "-*" \
'(*)-a[install or update firmware for all drivers]' \
'-d[delete drivers instead of adding them]' \
+ '-D+[specify location of dmesg output used to determine needed firmware]:path [/var/run/dmesg.boot]:_files' \
'-F[download firmware only]' \
+ '-l[list drivers without installing]' \
'-n[dry run]' \
'-p+[use the firmware at specified path]: : _alternative
"urls\:url\:_urls"
"directories\:path\:_directories"' \
'*-v[verbose output]' \
- '(-a)*:driver:'
+ '(-a)*:driver:compadd $(_call_program drivers $words[1] -l)'
diff --git a/Completion/BSD/Command/_rcctl b/Completion/BSD/Command/_rcctl
index 457c3eb85..9b4df392e 100644
--- a/Completion/BSD/Command/_rcctl
+++ b/Completion/BSD/Command/_rcctl
@@ -18,7 +18,8 @@ lsarg=(
if [[ $service == "rcctl" ]]; then
_arguments -C \
- '-d[print debug information]' \
+ '(-q)-d[print debug information]' \
+ '(-d)-q[only display the script name and errors]' \
'-f[forcibly start the daemon]' \
':subcommand:('"$actions ${${${+words[(r)-[df]]}#1}/0/$subcmds}"\) \
'*:: :->subcmd' && return
@@ -48,4 +49,5 @@ case $service in
${(~j:|:)actions}|disable|enable)
_arguments "*:service to ${words[2]}:_services"
;;
+ *) _default ;;
esac