about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Linux/Command/_tracepath9
-rw-r--r--Completion/Unix/Command/_tracepath5
2 files changed, 9 insertions, 5 deletions
diff --git a/Completion/Linux/Command/_tracepath b/Completion/Linux/Command/_tracepath
new file mode 100644
index 000000000..f0f777d96
--- /dev/null
+++ b/Completion/Linux/Command/_tracepath
@@ -0,0 +1,9 @@
+#compdef tracepath tracepath6
+
+_arguments -s -S \
+  '-n[print IP addresses numerically]' \
+  '-b[print both host names and IP addresses]' \
+  '-l+[set the initial packet length]:length (bytes)' \
+  '-m+[set maximum hops]:maximum [30]' \
+  '-p+[set initial destination port to use]:port:_ports' \
+  ':destination:_hosts'
diff --git a/Completion/Unix/Command/_tracepath b/Completion/Unix/Command/_tracepath
deleted file mode 100644
index eb49e567d..000000000
--- a/Completion/Unix/Command/_tracepath
+++ /dev/null
@@ -1,5 +0,0 @@
-#compdef tracepath tracepath6
-
-_arguments \
-  ':destination:_hosts' \
-  ':port:_ports'