Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: update tracepath completion



tracepath now takes a few options. It is also actually Linux specific so
I'll also move the function from the Unix directory to Linux.

Oliver

diff --git a/Completion/Unix/Command/_tracepath b/Completion/Unix/Command/_tracepath
index eb49e567d..f0f777d96 100644
--- a/Completion/Unix/Command/_tracepath
+++ b/Completion/Unix/Command/_tracepath
@@ -1,5 +1,9 @@
 #compdef tracepath tracepath6
 
-_arguments \
-  ':destination:_hosts' \
-  ':port:_ports'
+_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'



Messages sorted by: Reverse Date, Date, Thread, Author