41617: complete new tracepath options

This commit is contained in:
Oliver Kiddle 2017-08-29 00:41:34 +02:00
parent e5c11eb7b5
commit 386eb378a7
3 changed files with 11 additions and 5 deletions

View file

@ -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:

View file

@ -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'

View file

@ -1,5 +0,0 @@
#compdef tracepath tracepath6
_arguments \
':destination:_hosts' \
':port:_ports'