summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-02-07 22:12:26 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-02-07 22:28:03 +0000
commit860ef4e125673f07633e811a8f893c3e62c405c9 (patch)
tree4b38af013c0fa70577811dd53be2b99469f2f934
parent2810317ae2f2f96d06add76c17510a90f2ea3f62 (diff)
downloadzsh-860ef4e125673f07633e811a8f893c3e62c405c9.tar.gz
zsh-860ef4e125673f07633e811a8f893c3e62c405c9.tar.xz
zsh-860ef4e125673f07633e811a8f893c3e62c405c9.zip
34464: Update mtr completion to mtr 0.82
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_mtr10
2 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d14fc5345..002f52094 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-07  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* 34464: Completion/Unix/Command/_mtr: Update mtr completion
+	to mtr 0.82
+
 2015-02-03  Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
 
 	* 34456: _arguments: lopts should be initialized as an array
diff --git a/Completion/Unix/Command/_mtr b/Completion/Unix/Command/_mtr
index f4df5b3cf..5eda9bc1a 100644
--- a/Completion/Unix/Command/_mtr
+++ b/Completion/Unix/Command/_mtr
@@ -4,13 +4,19 @@ _arguments -C \
   '(-h --help)'{-h,--help}'[help]' \
   '(-v --version)'{-v,--version}'[version]' \
   '(-r --report)'{-r,--report}'[report mode]' \
+  '(-w --report-wide)'{-w,--report-wide}'[wide report mode\: do not truncate hostnames]' \
   '(-c --report-cycles)'{-c,--report-cycles}'[report cycles]:number of pings' \
-  '(-p --psize)'{-p,--psize}'[packet size]:number of bytes' \
+  '(-s --psize)'{-s,--psize}'[packet size]:number of bytes' \
   '(-t --curses)'{-t,--curses}'[curses UI]' \
+  '(-e --mpls)'{-e,--mpls}'[display ICMP MPLS information]' \
+  '(-o --order)'{-o,--order}'[order output fields]:fields order' \
   '(-n --no-dns)'{-n,--no-dns}'[no DNS lookups]' \
   '(-g --gtk)'{-g,--gtk}'[GTK+ UI]' \
-  '(-s --split)'{-s,--split}'[output for a split-user interface]' \
+  '(-p --split)'{-p,--split}'[output for a split-user interface]' \
   '(-l --raw)'{-l,--raw}'[raw output format]' \
   '(-a --address)'{-a,--address}'[source address]:source IP:_hosts' \
   '(-i --interval)'{-i,--interval}'[ping interval]:number of seconds' \
+  '-u[use UDP instead of ICMP echo]' \
+  '-4[use IPv4 only]' \
+  '-6[use IPv6 only]' \
   ':destination host:_hosts'