mirror of
https://github.com/zsh-users/zsh
synced 2024-09-30 05:06:09 +00:00
41617: complete new tracepath options
This commit is contained in:
parent
e5c11eb7b5
commit
386eb378a7
|
@ -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:
|
||||
|
|
9
Completion/Linux/Command/_tracepath
Normal file
9
Completion/Linux/Command/_tracepath
Normal 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'
|
|
@ -1,5 +0,0 @@
|
|||
#compdef tracepath tracepath6
|
||||
|
||||
_arguments \
|
||||
':destination:_hosts' \
|
||||
':port:_ports'
|
Loading…
Reference in a new issue