diff options
author | Oliver Kiddle <okiddle@yahoo.co.uk> | 2019-05-09 00:17:04 +0200 |
---|---|---|
committer | Oliver Kiddle <okiddle@yahoo.co.uk> | 2019-05-09 00:17:04 +0200 |
commit | 09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7 (patch) | |
tree | 601415774d4ab34958807bc0872322d9062a59a0 /Completion/Unix/Command/_ping | |
parent | ffacb17886e8071332c0b1dc8263e7dbe6af268a (diff) | |
download | zsh-09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7.tar.gz zsh-09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7.tar.xz zsh-09c6acf7b23f6ea6af6c5ac9cce18aa1afc49aa7.zip |
44279: completion updates for Dragonfly 5.4, FreeBSD 12 and OpenBSD 6.5
Diffstat (limited to 'Completion/Unix/Command/_ping')
-rw-r--r-- | Completion/Unix/Command/_ping | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Completion/Unix/Command/_ping b/Completion/Unix/Command/_ping index 78fd33d92..3cb6e1008 100644 --- a/Completion/Unix/Command/_ping +++ b/Completion/Unix/Command/_ping @@ -11,6 +11,7 @@ case ${variant}:${${service#ping}:-4} in args+=( '-d[set SO_DEBUG on the socket]' '-n[show network addresses as numbers]' + '-M+[define mtu discovery]:mtu discovery:(do dont want)' '-v[verbose output]' ) ;| @@ -104,9 +105,11 @@ case ${variant}:${${service#ping}:-4} in '-z+[specify type of service]:type of service' ) ;| + (freebsd|openbsd|darwin)*:6) + args+=( '-D[disable IPv6 fragmentation]' ) + ;| (freebsd|darwin)*:6) args+=( - '-D[disable IPv6 fragmentation]' '-R[audible bell for no packet]' '-r[audible bell for each packet]' ) @@ -149,16 +152,12 @@ case ${variant}:${${service#ping}:-4} in '--apple-time[prints the time a packet was received]' ) ;; - openbsd*:4) - args+=( - '-T+[change TOS value]:TOS value:(critical inetcontrol lowdelay netcontrol throughput reliability ef af cs)' - ) - ;| openbsd*) args+=( '-H[try reverse-lookups of addresses]' '-E[audible bell for no packet]' '-e[audible bell for each packet]' + '-T+[change TOS value]:TOS value:(critical inetcontrol lowdelay netcontrol throughput reliability ef af cs)' '-V+[specify routing table to be used]:routing table' ) ;; |