diff options
author | Oliver Kiddle <opk@zsh.org> | 2017-08-29 00:41:34 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2017-08-29 00:41:34 +0200 |
commit | 386eb378a758370360c3455aa983db416e505c8b (patch) | |
tree | ab5e2c153165baaba328db57933893f7323934b9 | |
parent | e5c11eb7b55d96b740db1684b8ff89d412f4df15 (diff) | |
download | zsh-386eb378a758370360c3455aa983db416e505c8b.tar.gz zsh-386eb378a758370360c3455aa983db416e505c8b.tar.xz zsh-386eb378a758370360c3455aa983db416e505c8b.zip |
41617: complete new tracepath options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Completion/Linux/Command/_tracepath | 9 | ||||
-rw-r--r-- | Completion/Unix/Command/_tracepath | 5 |
3 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index 1c77435d3..94c8a8f0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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: 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' |