From 220e83ebb195e958e36ea7ed13c54b61d23e6558 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Thu, 5 Sep 2013 10:01:01 +0200 Subject: ifpps: zsh: add -P option Add an entry for autocompletion support. Signed-off-by: Daniel Borkmann --- ifpps.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/ifpps.zsh b/ifpps.zsh index 83de153..8fb97db 100644 --- a/ifpps.zsh +++ b/ifpps.zsh @@ -19,6 +19,7 @@ _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.]" \ -- cgit v1.2.3-54-g00ecf