1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-18 21:14:11 +01:00

22450: completion for tcptraceroute.

This commit is contained in:
Clint Adams 2006-05-20 16:42:50 +00:00
parent ca99502a98
commit 153c51be57
2 changed files with 25 additions and 0 deletions

@ -1,5 +1,8 @@
2006-05-20 Clint Adams <clint@zsh.org>
* 22450: Completion/Unix/Command/_tcptraceroute: completion for
tcptraceroute.
* 22449: Completion/Unix/Command/_tracepath: completion for
tracepath and tracepath6.

@ -0,0 +1,22 @@
#compdef tcptraceroute
_arguments \
'-n[no reverse lookups]' \
'-N[always reverse lookup]' \
'-f:first ttl:' \
'-m:maximum ttl:' \
'-p:local tcp port:_ports' \
'-s:source address:_hosts' \
'-i:interface for outgoing packets:_net_interfaces' \
'-q:number of probes to each hop:' \
'-w:timeout in seconds:' \
'-S[set TCP SYN flag]' \
'-A[set TCP ACK flag]' \
'-E[send ECN SYN packets]' \
'-t:IP TOS:' \
'-F[set IP don'"'"'t fragment bit]' \
'-l:total packet length:' \
'-d[enable debugging]' \
':destination:_hosts' \
':port:_ports' \
':length:'