about summary refs log tree commit diff
path: root/Completion/BSD/Command/_sockstat
diff options
context:
space:
mode:
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