about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/Unix/Command/_tcptraceroute22
-rw-r--r--Completion/Unix/Command/_tracepath5
2 files changed, 27 insertions, 0 deletions
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:'
diff --git a/Completion/Unix/Command/_tracepath b/Completion/Unix/Command/_tracepath
new file mode 100644
index 000000000..eb49e567d
--- /dev/null
+++ b/Completion/Unix/Command/_tracepath
@@ -0,0 +1,5 @@
+#compdef tracepath tracepath6
+
+_arguments \
+  ':destination:_hosts' \
+  ':port:_ports'