Revert "flowtop: Don't init screen until collector is ready"
[netsniff-ng-new.git] / bpfc.zsh
blob2685bad0abd9e316a409b86823ae675b2d62004c
1 #compdef bpfc
3 # bpfc.zsh -- zsh completion function for bpfc
5 # Copyright (C) 2013 Hideo Hattori <hhatto.jp@gmail.com>
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License version 2 as
9 # published by the Free Software Foundation.
11 typeset -A opt_args
13 _arguments -s -S \
14 "(-i --input)"{-i,--input}"[Berkeley Packet Filter file]:input:_files" \
15 "(-p --cpp)"{-p,--cpp}"[Run bpf program through C preprocessor]" \
16 "(-f --format)"{-f,--format}"[Output format]:output:(C netsniff-ng xt_bpf tcpdump)" \
17 "(-b --bypass)"{-b,--bypass}"[Bypass filter validation (e.g. for bug testing)]" \
18 "(-d --dump)"{-d,--dump}"[Dump supported instruction table]" \
19 "(-V --verbose)"{-V,--verbose}"[Be more verbose]" \
20 {-v,--version}"[Print version and exit]:" \
21 {-h,--help}"[Print help and exit]:" \
22 "*::args:_gnu_generic"