about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_tcptraceroute22
2 files changed, 25 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 43db7fdd3..4bcc2cd30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
diff --git a/Completion/Unix/Command/_tcptraceroute b/Completion/Unix/Command/_tcptraceroute
new file mode 100644
index 000000000..7c03837a1
--- /dev/null
+++ b/Completion/Unix/Command/_tcptraceroute
@@ -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:'