about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2017-08-29 00:41:34 +0200
committerOliver Kiddle <opk@zsh.org>2017-08-29 00:41:34 +0200
commit386eb378a758370360c3455aa983db416e505c8b (patch)
treeab5e2c153165baaba328db57933893f7323934b9 /Completion
parente5c11eb7b55d96b740db1684b8ff89d412f4df15 (diff)
downloadzsh-386eb378a758370360c3455aa983db416e505c8b.tar.gz
zsh-386eb378a758370360c3455aa983db416e505c8b.tar.xz
zsh-386eb378a758370360c3455aa983db416e505c8b.zip
41617: complete new tracepath options
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'