summaryrefslogtreecommitdiff
path: root/astraceroute.zsh
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-08-21 00:40:36 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-08-21 00:40:36 +0200
commit1355e2a5f10c5974c8fc6f3a4c8299d5a5995bef (patch)
tree064f708061ecf54e583901900d63764cda8cc6cd /astraceroute.zsh
parent5e739dd87b4f08f9ff7144c66c14e1d8e8bdef1c (diff)
astraceroute: zsh: add auto-completion entry
Add an auto-completion entry for commit 5e739 ("astraceroute: Support binding to a specific IP address.") Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Cc: Oliver Smith <oliver@zerolag.com>
Diffstat (limited to 'astraceroute.zsh')
-rw-r--r--astraceroute.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/astraceroute.zsh b/astraceroute.zsh
index 2354544..78c0976 100644
--- a/astraceroute.zsh
+++ b/astraceroute.zsh
@@ -20,6 +20,7 @@ _arguments -s -S \
"(-H --host)"{-H,--host}"[Host/IPv4/IPv6 to lookup AS route to]:host:_hosts" \
"(-p --port)"{-p,--port}"[Hosts port to lookup AS route to]:port:_gnu_generic" \
"(-i -d --dev)"{-i,-d,--dev}"[Networking device i.e., eth0]:device:_interfaces" \
+ "(-b --bind)"{-b,--bind}"[IP address to bind to, Must specify -6 for an IPv6 address]" \
"(-4 --ipv4)"{-4,--ipv4}"[Use IPv4 requests (default)]" \
"(-6 --ipv6)"{-6,--ipv6}"[Use IPv6 requests]" \
"(-n --numeric)"{-n,--numeric}"[Do not do reverse DNS lookup for hops]" \