about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2004-03-11 21:58:49 +0000
committerClint Adams <clint@users.sourceforge.net>2004-03-11 21:58:49 +0000
commit05f58bbb179add8562536285f8fb9a0e3904735e (patch)
tree8faad177c0acb14e5f6bda3be78ea2637d9e6ba3
parent01838ff30b889f2e8ed23d687bb2346b364fe3f2 (diff)
downloadzsh-05f58bbb179add8562536285f8fb9a0e3904735e.tar.gz
zsh-05f58bbb179add8562536285f8fb9a0e3904735e.tar.xz
zsh-05f58bbb179add8562536285f8fb9a0e3904735e.zip
19605: Completion/Unix/Command/_mtr: completion for Matt's traceroute.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_mtr28
2 files changed, 31 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a1d342c11..d8071cf8e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-03-11  Clint Adams  <clint@zsh.org>
 
+	* 19605: Completion/Unix/Command/_mtr: completion for Matt's
+	traceroute.
+
 	* 19604: Completion/Unix/Command/_vux: completion for vux
 	and vuxctl.
 
diff --git a/Completion/Unix/Command/_mtr b/Completion/Unix/Command/_mtr
new file mode 100644
index 000000000..6e66d9b49
--- /dev/null
+++ b/Completion/Unix/Command/_mtr
@@ -0,0 +1,28 @@
+#compdef mtr
+
+_arguments -C \
+	'(--help)-h[help]' \
+	'(-h)--help' \
+	'(--version)-v[version]' \
+	'(-v)--version' \
+	'(--report)-r[report]' \
+	'(-r)--report' \
+	'(--report--cycles)-c[report cycles]:count:' \
+	'(-c)--report-cycles:count:' \
+	'(--psize)-p[packet size]:packet size in bytes:' \
+	'(-p)--psize:packet size in bytes:' \
+	'(--curses)-t[curses]' \
+	'(-t)--curses' \
+	'(--no-dns)-n[no dns]' \
+	'(-n)--no-dns' \
+	'(--gtk)-g[gtk]' \
+	'(-g)--gtk' \
+	'(--split)-s[split]' \
+	'(-s)--split' \
+	'(--raw)-l[raw]' \
+	'(-l)--raw' \
+	'(--address)-a[source IP]:source IP:' \
+	'(-a)--address:source IP:' \
+	'(--interval)-i[interval]:seconds:' \
+	'(-i)--interval:seconds:' \
+	':hostname:_hosts'