diff options
| author | Oliver Kiddle <opk@zsh.org> | 2025-11-03 20:25:36 +0100 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2025-11-03 20:25:36 +0100 |
| commit | 1782750aa94756a799a5ae8f75a1734a172b32f8 (patch) | |
| tree | e74b67c6caa4dfc4a007c5fe7ed3c9dff5e86578 /Completion/BSD | |
| parent | 54020: add library for network support on Haiku OS (diff) | |
| download | zsh-1782750aa94756a799a5ae8f75a1734a172b32f8.tar zsh-1782750aa94756a799a5ae8f75a1734a172b32f8.tar.gz zsh-1782750aa94756a799a5ae8f75a1734a172b32f8.tar.bz2 zsh-1782750aa94756a799a5ae8f75a1734a172b32f8.tar.lz zsh-1782750aa94756a799a5ae8f75a1734a172b32f8.tar.xz zsh-1782750aa94756a799a5ae8f75a1734a172b32f8.tar.zst zsh-1782750aa94756a799a5ae8f75a1734a172b32f8.zip | |
54022: completion updates for openbsd 7.8
Diffstat (limited to 'Completion/BSD')
| -rw-r--r-- | Completion/BSD/Command/_fw_update | 4 | ||||
| -rw-r--r-- | Completion/BSD/Command/_rcctl | 4 |
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 |
