about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Linux/Command/_tracepath9
-rw-r--r--Completion/Unix/Command/_tracepath5
3 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c77435d3..94c8a8f0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2017-08-29  Oliver Kiddle  <opk@zsh.org>
 
+	* 41617: Completion/Linux/Command/_tracepath: complete new options
+
 	* 41616: Completion/Unix/Command/_entr: update options to 3.8
 
 	* unposted: Completion/Unix/Type/_bpf_filters:
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'