From 0bc86fe938e8f6d12aca41a283491f51729d5c62 Mon Sep 17 00:00:00 2001 From: Hideo Hattori Date: Tue, 4 Jun 2013 02:27:09 +0900 Subject: zsh: update zsh autocompletion functions to implementation Update those functions to implementation status. Signed-off-by: Hideo Hattori Signed-off-by: Daniel Borkmann --- flowtop.zsh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'flowtop.zsh') diff --git a/flowtop.zsh b/flowtop.zsh index 1d1b2e7..878931c 100644 --- a/flowtop.zsh +++ b/flowtop.zsh @@ -11,11 +11,15 @@ typeset -A opt_args _arguments -s -S \ + "(-4 --ipv4)"{-4,--ipv4}"[Show only IPv4 flows (default)]" \ + "(-6 --ipv6)"{-6,--ipv6}"[Show only IPv6 flows (default)]" \ "(-T --tcp)"{-T,--tcp}"[Show only TCP flows (default)]" \ "(-U --udp)"{-U,--udp}"[Show only UDP flows]" \ + "(-D --dccp)"{-D,--dccp}"[Show only DCCP flows]" \ + "(-I --icmp)"{-I,--icmp}"[Show only ICMP/ICMPv6 flows]" \ + "(-S --sctp)"{-S,--sctp}"[Show only SCTP flows]" \ "(-s --show-src)"{-s,--show-src}"[Also show source, not only dest]" \ - "--city-db[Specifiy path for geoip city database]:path:_files" \ - "--country-db[Specifiy path for geoip country database]:path:_files" \ + "(-u --update)"{-u,--update}"[Update GeoIP databases]" \ {-v,--version}"[Print version]:" \ {-h,--help}"[Print this help]:" \ "*::args:_gnu_generic" -- cgit v1.2.3-54-g00ecf