summaryrefslogtreecommitdiff
path: root/Completion/BSD/Command/_sockstat
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2019-05-09 00:17:04 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2019-05-09 00:17:04 +0200
commit09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7 (patch)
tree601415774d4ab34958807bc0872322d9062a59a0 /Completion/BSD/Command/_sockstat
parentffacb17886e8071332c0b1dc8263e7dbe6af268a (diff)
downloadzsh-09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7.tar.gz
zsh-09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7.zip
44279: completion updates for Dragonfly 5.4, FreeBSD 12 and OpenBSD 6.5
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 913f3eb05..1d7973db7 100644
--- a/Completion/BSD/Command/_sockstat
+++ b/Completion/BSD/Command/_sockstat
@@ -13,6 +13,14 @@ case $OSTYPE in
'-u[show AF_LOCAL (UNIX) sockets]'
)
;|
+ freebsd<12->.*)
+ args+=(
+ '-S[display the protocol stack if applicable]'
+ '-U[display the remote UDP encapsulation port number if applicable]'
+ '-v[verbose mode]'
+ '-w[use wider field size for displaying addresses]'
+ )
+ ;|
freebsd*)
for proto in ${${(M)${(f)"$(</etc/protocols)"}##[a-z0-9]*}}; do
case $proto in