summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_ping
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-01-27 23:06:16 +0100
committerOliver Kiddle <opk@zsh.org>2025-01-27 23:06:16 +0100
commitf3b865b9155269ba0dee7ced93b061e78df507c1 (patch)
tree7ff3e71038dfd5ab7c9e88a82980fd4d85637563 /Completion/Unix/Command/_ping
parent87aba4d437f5fef46917c1235c00b9162d7bcbd0 (diff)
downloadzsh-f3b865b9155269ba0dee7ced93b061e78df507c1.tar.gz
zsh-f3b865b9155269ba0dee7ced93b061e78df507c1.zip
53326: completion updates for core Linux utils
Diffstat (limited to 'Completion/Unix/Command/_ping')
-rw-r--r--Completion/Unix/Command/_ping5
1 files changed, 4 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_ping b/Completion/Unix/Command/_ping
index 84bd76b82..95e1fd604 100644
--- a/Completion/Unix/Command/_ping
+++ b/Completion/Unix/Command/_ping
@@ -196,6 +196,7 @@ case ${variant}:${${service#ping}:-4} in
;;
iputils:*)
args+=(
+ '-3[RTT precision (do not round up the result time)]'
'-A[adaptive]'
'-b[allow pinging a broadcast address]'
"-B[don't allow ping to change source address]"
@@ -204,12 +205,14 @@ case ${variant}:${${service#ping}:-4} in
'-e+[define identifier for ping session]:identifier'
'(-4)-F+[allocate and set 20-bit flow label]:flow label (hex)'
'(-)-h[show usage information]'
+ '(-n)-H[force reverse DNS name resolution even for numeric destination]'
'-I+[specify source interface]:interface:_net_interfaces'
'-m+[specify mark to tag outgoing packets]:mark'
"-M+[specify path MTU discovery strategy]:strategy:((
do\:prohibit\ fragmentation,\ even\ local\ one
want\:do\ PMTU\ discovery
- dont\:don\'t\ set\ DF\ flag))"
+ dont\:don\'t\ set\ DF\ flag
+ probe\:set\ DF\ flag\ and\ bypass\ PMTU\ checks))"
'(-4)-N+[send ICMPv6 node information queries instead of echo request]:sub option'
'-O[report outstanding ICMP ECHO reply before sending next packet]'
'-Q+[set Quality of Service-related bits in ICMP datagrams]:QoS TOS bits'