summaryrefslogtreecommitdiff
path: root/flowtop.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'flowtop.zsh')
-rw-r--r--flowtop.zsh8
1 files changed, 6 insertions, 2 deletions
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"