From b6f26d614e65ddcd1b32989b7ef5ae002d5e6650 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Wed, 22 Apr 2015 22:17:31 +0200 Subject: zsh: netsniff-ng: add completions Add completions for the three new options. Signed-off-by: Daniel Borkmann --- netsniff-ng.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/netsniff-ng.zsh b/netsniff-ng.zsh index f60f867..a0050f2 100644 --- a/netsniff-ng.zsh +++ b/netsniff-ng.zsh @@ -35,6 +35,9 @@ _interfaces () { _arguments -s -S \ "(-i -d --dev --in)"{-i,-d,--dev,--in}"[Input source as netdev, pcap or pcap stdin]:input:_interfaces" \ "(-o --out)"{-o,--out}"[Output sink as netdev, pcap, directory, trafgen, or stdout]::_gnu_generic" \ + "(-C --fanout-group)"{-C,--fanout-group}"[Join packet fanout group]" \ + "(-K --fanout-type)"{-K,--fanout-type}"[Apply fanout discipline: hash|lb|cpu|rnd|roll|qm]" \ + "(-L --fanout-opts)"{-L,--fanout-opts}"[Additional fanout options: defrag|roll]" \ "(-f --filter)"{-f,--filter}"[Use BPF filter file from bpfc or tcpdump-like expression]" \ "(-t --type)"{-t,--type}"[Filter type]:filter:(host broadcast multicast others outgoing)" \ "(-F --interval)"{-F,--interval}"[Dump interval if -o is a dir: KiB/MiB/GiB/s/sec/min/hrs]:interval:_gnu_generic" \ -- cgit v1.2.3-54-g00ecf