summaryrefslogtreecommitdiff
path: root/Completion/BSD/Command/_sockstat
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/BSD/Command/_sockstat
parent4878c2b1307d54cbdc218ee674403c03bc1e02c1 (diff)
downloadzsh-985952e2f616c816e24c4cf5aee70416e4f23e07.tar.gz
zsh-985952e2f616c816e24c4cf5aee70416e4f23e07.zip
52217: update completions for FreeBSD 14
Diffstat (limited to 'Completion/BSD/Command/_sockstat')
-rw-r--r--Completion/BSD/Command/_sockstat8
1 files changed, 8 insertions, 0 deletions
diff --git a/Completion/BSD/Command/_sockstat b/Completion/BSD/Command/_sockstat
index 1d7973db7..f372fe1b3 100644
--- a/Completion/BSD/Command/_sockstat
+++ b/Completion/BSD/Command/_sockstat
@@ -21,6 +21,14 @@ case $OSTYPE in
'-w[use wider field size for displaying addresses]'
)
;|
+ freebsd<13->.*)
+ args+=(
+ '-C[display the congestion control module]'
+ '-i[display the inp_gencnt]'
+ "-n[don't resolve numeric UIDs to user names]"
+ '-q[quiet mode, do not print the header line]'
+ )
+ ;|
freebsd*)
for proto in ${${(M)${(f)"$(</etc/protocols)"}##[a-z0-9]*}}; do
case $proto in