diff options
author | Oliver Kiddle <okiddle@yahoo.co.uk> | 2018-03-31 10:12:59 +0200 |
---|---|---|
committer | Oliver Kiddle <okiddle@yahoo.co.uk> | 2018-03-31 10:12:59 +0200 |
commit | 1bd2ecc17d74b6a8ffba97806cf90ef706d7411b (patch) | |
tree | 45907660ec9224697609d95d94c029dd108757af /Completion/Linux/Command/_ss | |
parent | b90c59e9fc75847bca3fa23c3b1a088f553aeb61 (diff) | |
download | zsh-1bd2ecc17d74b6a8ffba97806cf90ef706d7411b.tar.gz zsh-1bd2ecc17d74b6a8ffba97806cf90ef706d7411b.tar.xz zsh-1bd2ecc17d74b6a8ffba97806cf90ef706d7411b.zip |
42572: various completion option updates
Diffstat (limited to 'Completion/Linux/Command/_ss')
-rw-r--r-- | Completion/Linux/Command/_ss | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Completion/Linux/Command/_ss b/Completion/Linux/Command/_ss index e5289b0a7..afe00b6a3 100644 --- a/Completion/Linux/Command/_ss +++ b/Completion/Linux/Command/_ss @@ -33,10 +33,11 @@ _arguments -C -s \ "($info -d --dccp)"{-d,--dccp}'[display DCCP sockets]' \ "($info -w --raw)"{-w,--raw}'[display RAW sockets]' \ "($info -x --unix)"{-x,--unix}'[display Unix domain sockets]' \ - "($info -f --family)"{-f,--family}'[display sockets of specified type]:family:(unix inet inet6 link netlink unix)' \ + "($info)--vsock[display only vsock sockets]' \ + "($info -f --family)"{-f,--family}'[display sockets of specified type]:family:(unix inet inet6 link netlink unix vsock)' \ "($info -K --kill)"{-K,--kill}'[forcibly close sockets, display what was closed]' \ "($info -H --no-header)"{-H,--no-header}'[suppress header line]' \ - "($info -A --query --socket)"{-A,--query,--socket}'[specify socket tables to show]: :_values -s , socket\ table all inet tcp udp raw unix packet netlink unix_dgram unix_stream unix_seqpacket packet_raw packet_dgram' \ + "($info -A --query --socket)"{-A,--query,--socket}'[specify socket tables to show]: :_values -s , socket\ table all inet tcp udp raw unix packet netlink unix_dgram unix_stream unix_seqpacket packet_raw packet_dgram vsock_stream vsock_dgram' \ "($info -D)"{-D,--diag=}'[dump raw info to file]:file:_files' \ "($info -F)"{-F,--filter=}'[read filter information from a file]:file:_files' \ "($info)*: :->filter" && ret=0 @@ -78,7 +79,7 @@ if [[ -n $state ]]; then state|exclude) _wanted states expl state compadd -M 'm:{a-zA-Z_}={A-Za-z-}' \ ESTABLISHED SYN-SENT SYN-RECV FIN-WAIT-1 FIN-WAIT-2 TIME-WAIT \ - CLOSED CLOSE-WAIT LAST-ACK LISTEN CLOSING \ + CLOSED CLOSE-WAIT LAST-ACK LISTENING CLOSING \ all connected synchronized bucket big && ret=0 ;; *) |