summaryrefslogtreecommitdiff
path: root/.zsh/completion/_flowtop.zsh
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/completion/_flowtop.zsh')
-rw-r--r--.zsh/completion/_flowtop.zsh8
1 files changed, 6 insertions, 2 deletions
diff --git a/.zsh/completion/_flowtop.zsh b/.zsh/completion/_flowtop.zsh
index 878931c..c430748 100644
--- a/.zsh/completion/_flowtop.zsh
+++ b/.zsh/completion/_flowtop.zsh
@@ -18,8 +18,12 @@ _arguments -s -S \
"(-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]" \
+ "(-n --no-dns)"{-n,--no-dns}"[Don't perform hostname lookup]" \
+ "(-G --no-geoip)"{-G,--no-geoip}"[Don't perform GeoIPlookup]" \
"(-s --show-src)"{-s,--show-src}"[Also show source, not only dest]" \
+ "(-b --bits)"{-b,--bits}"[Show rates in bits/s instead of bytes/s]" \
"(-u --update)"{-u,--update}"[Update GeoIP databases]" \
- {-v,--version}"[Print version]:" \
- {-h,--help}"[Print this help]:" \
+ "(-t --interval)"{-t,--interval}"[Refresh time in seconds (def: 1s)]:interval:_gnu_generic" \
+ {-v,--version}"[Print version and exit]:" \
+ {-h,--help}"[Print help and exit]:" \
"*::args:_gnu_generic"