summaryrefslogtreecommitdiff
path: root/astraceroute.zsh
diff options
context:
space:
mode:
authorHideo Hattori <hhatto.jp@gmail.com>2013-06-04 02:27:09 +0900
committerDaniel Borkmann <dborkman@redhat.com>2013-06-03 20:15:47 +0200
commit0bc86fe938e8f6d12aca41a283491f51729d5c62 (patch)
tree08c5008464faff97e28cd3089bca47d9e28b98da /astraceroute.zsh
parenta36b5c3b778fb7bb39183fb2ef0f86035d355c7f (diff)
zsh: update zsh autocompletion functions to implementation
Update those functions to implementation status. Signed-off-by: Hideo Hattori <hhatto.jp@gmail.com> Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'astraceroute.zsh')
-rw-r--r--astraceroute.zsh6
1 files changed, 2 insertions, 4 deletions
diff --git a/astraceroute.zsh b/astraceroute.zsh
index 28fa24a..c15e2c8 100644
--- a/astraceroute.zsh
+++ b/astraceroute.zsh
@@ -23,6 +23,8 @@ _arguments -s -S \
"(-4 --ipv4)"{-4,--ipv4}"[Use IPv4 requests (default)]" \
"(-6 --ipv6)"{-6,--ipv6}"[Use IPv6 requests]" \
"(-n --numeric)"{-n,--nemeric}"[Do not do reverse DNS lookup for hops]" \
+ "(-u --update)"{-u,--update}"[Update GeoIP databases]" \
+ "(-L --latitude)"{-L,--latitude}"[Show latitude and longtitude]" \
"(-N --dns)"{-N,--dns}"[Do a reverse DNS lookup for hops]" \
"(-f --init-ttl)"{-f,--init-ttl}"[Set initial TTL]:ttl:_gnu_generic" \
"(-m --max-ttl)"{-m,--max--ttl}"[Set maximum TTL]:ttl:_gnu_generic" \
@@ -41,10 +43,6 @@ _arguments -s -S \
"(-X --payload)"{-X,--payload}"[Specify a payload string to test DPIs]:string:_gnu_generic" \
"(-Z --show-packet)"{-Z,--show-packet}"[Show returned packet on each hop]" \
"(-l --totlen)"{-l,--totlen}"[Specify total packet len]:lengths:_gnu_generic" \
- "(-w --whois)"{-w,--whois}"[Use a different AS whois DB server (default: /etc/netsniff-ng/whois.conf)]:file:_files" \
- "(-W --wport)"{-W,--wport}"[Use a different port to AS whois server (default: /etc/netsniff-ng/whois.conf)]:file:_files" \
- "--city-db[Specifiy path for geoip city database]:path:_files" \
- "--country-db[Specifiy path for geoip country database]:path:_files" \
{-v,--version}"[Print version]:" \
{-h,--help}"[Print this help]:" \
"*::args:_gnu_generic"