zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: update tracepath completion
@ 2017-08-28 22:29 Oliver Kiddle
  0 siblings, 0 replies; only message in thread
From: Oliver Kiddle @ 2017-08-28 22:29 UTC (permalink / raw)
  To: Zsh workers

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'


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-28 22:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-28 22:29 PATCH: update tracepath completion Oliver Kiddle

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).