diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-08-06 18:06:15 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-08-06 18:06:15 +0200 |
commit | 78c1813f0ff56e6aa2edbbc70aeffebbc4ca4773 (patch) | |
tree | e68b11c50b6ce0f2a209874b63fe14fa12acc9a6 | |
parent | 901ba7f852994c54287d3d1126c85f1d468184a3 (diff) |
zsh: netsniff-ng: Add completetion for --cooked
Commit da8fcdd7 ("netsniff-ng: Add cooked cmdline option.") added the
-w/--cooked command line option but didn't add it to the zsh
completition. Do so now.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r-- | netsniff-ng.zsh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netsniff-ng.zsh b/netsniff-ng.zsh index a0050f2..f658811 100644 --- a/netsniff-ng.zsh +++ b/netsniff-ng.zsh @@ -46,6 +46,7 @@ _arguments -s -S \ "(-n --num)"{-n,--num}"[Number of packets until exit (def: 0)]" \ "(-P --prefix)"{-P,--prefix}"[Prefix for pcaps stored in directory]" \ "(-T --magic)"{-T,--magic}"[Pcap magic number/pcap format to store, see -D]" \ + "(-w --cooked)"{-w,--cooked}"[Use Linux \"cooked\" header instead of link header]" \ "(-D --dump-pcap-types)"{-D,--dump-pcap-types}"[Dump pcap types and magic numbers and quit]" \ "(-B --dump-bpf)"{-B,--dump-bpf}"[Dump generated BPF assembly]" \ "(-r --rand)"{-r,--rand}"[Randomize packet forwarding order (dev->dev)]" \ |