about summary refs log tree commit diff
path: root/Completion/BSD
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2023-03-16 22:12:48 +0100
committerOliver Kiddle <opk@zsh.org>2023-03-16 22:12:48 +0100
commitea229be4cfb6a734938648df4322fc4473e1712e (patch)
tree0e344de8b305851277c7cc255441344e7fbcfa11 /Completion/BSD
parent4b7a9fd0ecb750646cac76c41383f8391cd0fdd9 (diff)
downloadzsh-ea229be4cfb6a734938648df4322fc4473e1712e.tar.gz
zsh-ea229be4cfb6a734938648df4322fc4473e1712e.tar.xz
zsh-ea229be4cfb6a734938648df4322fc4473e1712e.zip
51581: update completions to cover changes in OpenBSD 7.2
Diffstat (limited to 'Completion/BSD')
-rw-r--r--Completion/BSD/Command/_fw_update6
-rw-r--r--Completion/BSD/Command/_rcctl2
2 files changed, 5 insertions, 3 deletions
diff --git a/Completion/BSD/Command/_fw_update b/Completion/BSD/Command/_fw_update
index b01749f3f..84b5f808d 100644
--- a/Completion/BSD/Command/_fw_update
+++ b/Completion/BSD/Command/_fw_update
@@ -3,8 +3,10 @@
 _arguments -s -S -A "-*" \
   '(*)-a[install or update firmware for all drivers]' \
   '-d[delete drivers instead of adding them]' \
-  '-i[display information]' \
+  '-F[download firmware only]' \
   '-n[dry run]' \
-  '-p[use the firmware at specified path]:path:' \
+  '-p+[use the firmware at specified path]: : _alternative
+    "urls\:url\:_urls"
+    "directories\:path\:_directories"' \
   '*-v[verbose output]' \
   '(-a)*:driver:'
diff --git a/Completion/BSD/Command/_rcctl b/Completion/BSD/Command/_rcctl
index 6cfebf420..98e4f9846 100644
--- a/Completion/BSD/Command/_rcctl
+++ b/Completion/BSD/Command/_rcctl
@@ -3,7 +3,7 @@
 local context state line
 local -a actions lsarg subcmds variables
 
-actions=(check reload restart start stop)
+actions=(configtest check reload restart start stop)
 subcmds=(disable enable get getdef ls order set)
 variables=(class flags status timeout user)
 lsarg=(