summaryrefslogtreecommitdiff
path: root/.zsh/completion/_ifpps.zsh
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-10-29 09:36:34 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-10-29 09:36:34 +0100
commitfbcbfac1878fd6b21a5d40ff79a7b86feed08e97 (patch)
tree0f8638d1c7ee1bb0233b9da233f1dacff1644e50 /.zsh/completion/_ifpps.zsh
parent8431852cbed2e736e9c6a5561e822c160a118a0d (diff)
completion: Update completitions for netsniff-ng tools
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to '.zsh/completion/_ifpps.zsh')
-rw-r--r--.zsh/completion/_ifpps.zsh6
1 files changed, 4 insertions, 2 deletions
diff --git a/.zsh/completion/_ifpps.zsh b/.zsh/completion/_ifpps.zsh
index 83de153..a1b3dd4 100644
--- a/.zsh/completion/_ifpps.zsh
+++ b/.zsh/completion/_ifpps.zsh
@@ -19,12 +19,14 @@ _interfaces () {
_arguments -s -S \
"(-d --dev)"{-d,--dev}"[Device to fetch statistics for i.e., eth0]:device:_interfaces" \
"(-p --promisc)"{-p,--promisc}"[Promiscuous mode]" \
+ "(-P --percentage)"{-P,--percentage}"[Show percentage of theoretical line rate]" \
"(-t --interval)"{-t,--interval}"[Refresh time in sec (default 1 s)]:interval:_gnu_generic" \
"(-n --num-cpus)"{-n,--num-cpus}"[Number of top hitter CPUs to display in ncurses mode (default 10)]" \
"(-C --csv)"{-C,--csv}"[Output to terminal as CSV E.g. post-processing with Gnuplot et al.]" \
"(-l --loop)"{-l,--loop}"[Loop terminal output]" \
+ "(-o --omit-header)"{-o,--omit-header}"[Do not print the CSV header]" \
"(-m --median)"{-m,--median}"[Display median values]" \
"(-W --no-warn)"{-W,--no-warn}"[Suppress warnings]" \
- {-v,--version}"[Print version]:" \
- {-h,--help}"[Print this help]:" \
+ {-v,--version}"[Print version and exit]:" \
+ {-h,--help}"[Print help and exit]:" \
"*::args:_gnu_generic"