about summary refs log tree commit diff
path: root/Completion/Unix/Command/_sysctl
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2023-10-11 00:57:16 +0200
committerOliver Kiddle <opk@zsh.org>2023-10-11 00:57:16 +0200
commit985952e2f616c816e24c4cf5aee70416e4f23e07 (patch)
treee37424c3fec594ba2e03217ee4915f7b1276035c /Completion/Unix/Command/_sysctl
parent4878c2b1307d54cbdc218ee674403c03bc1e02c1 (diff)
downloadzsh-985952e2f616c816e24c4cf5aee70416e4f23e07.tar.gz
zsh-985952e2f616c816e24c4cf5aee70416e4f23e07.tar.xz
zsh-985952e2f616c816e24c4cf5aee70416e4f23e07.zip
52217: update completions for FreeBSD 14
Diffstat (limited to 'Completion/Unix/Command/_sysctl')
-rw-r--r--Completion/Unix/Command/_sysctl8
1 files changed, 7 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_sysctl b/Completion/Unix/Command/_sysctl
index 0416ca05e..442953c4d 100644
--- a/Completion/Unix/Command/_sysctl
+++ b/Completion/Unix/Command/_sysctl
@@ -28,6 +28,12 @@ case $OSTYPE in
       '(- :)'{-V,--version}'[display version info and exit]' \
       '*:sysctl variable:_files -W /proc/sys'
   ;;
+  freebsd<14->.*)
+    args+=(
+      '-F[print the format of the variable]'
+      '(-N)-l[show the length of variables along with their values]'
+    )
+  ;|
   freebsd<11->.*)
     args+=(
       '-B[specify buffer size for reading]:buffer size'
@@ -53,7 +59,7 @@ case $OSTYPE in
       '-d[print the description of the variable instead of its value]' \
       '(-N -n)-e[separate name and value with =]' \
       "-i[silently exit if variable doesn't exist]" \
-      '(-n)-N[show only variable names]' \
+      '(-n -l)-N[show only variable names]' \
       '(-N)-n[show only variable values]' \
       '(-x)-o[show opaques as well (values suppressed)]' \
       '-q[suppress some warnings]' \