From 205ca73cd1b724795f7ec295e85fbb50cbbb430b Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 17 Dec 2015 13:41:05 +0100 Subject: [PATCH] zsh: bpfc: Add completion for -D/--define Add zsh completion for -D/--define command line option added in commit 121119215276 ("bpfc: Add option to pass macro/define for C preprocessor") Signed-off-by: Tobias Klauser --- bpfc.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/bpfc.zsh b/bpfc.zsh index 2685bad0..63c54e0b 100644 --- a/bpfc.zsh +++ b/bpfc.zsh @@ -13,6 +13,7 @@ typeset -A opt_args _arguments -s -S \ "(-i --input)"{-i,--input}"[Berkeley Packet Filter file]:input:_files" \ "(-p --cpp)"{-p,--cpp}"[Run bpf program through C preprocessor]" \ + "(-D --define)"{-D,--define}"[Add macro definition for the C preprocessor]::" \ "(-f --format)"{-f,--format}"[Output format]:output:(C netsniff-ng xt_bpf tcpdump)" \ "(-b --bypass)"{-b,--bypass}"[Bypass filter validation (e.g. for bug testing)]" \ "(-d --dump)"{-d,--dump}"[Dump supported instruction table]" \ -- 2.11.4.GIT