summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-12-17 13:40:11 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-12-17 13:42:12 +0100
commita8931ffedd1662d22efbe542b2464ceb55644cb3 (patch)
treeb9f0021f4db1f18608e67839552842db038f1b1e
parent205ca73cd1b724795f7ec295e85fbb50cbbb430b (diff)
zsh: trafgen: Add completion for -D/--define
Add zsh completion for -D/--define command line option added in commit 126e0038a73b ("trafgen: Added option to pass macro/define for C preprocessor") Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--trafgen.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/trafgen.zsh b/trafgen.zsh
index 06ca353..2bfe226 100644
--- a/trafgen.zsh
+++ b/trafgen.zsh
@@ -36,6 +36,7 @@ _arguments -s -S \
"(-i -c --in --conf)"{-i,-c,--in,--conf}"[Packet configuration file/stdin]:input:_files" \
"(-o -d --out --dev)"{-o,-d,--out,--dev}"[Networking device i.e., eth0]:device:_interfaces" \
"(-p --cpp)"{-p,--cpp}"[Run packet config through C preprocessor]" \
+ "(-D --define)"{-D,--define}"[Add macro definition for the C preprocessor]::" \
"(-J --jumbo-support)"{-J,--jumbo-support}"[Support 64KB super jumbo frames (def: 2048B)]" \
"(-R --rfraw)"{-R,--rfraw}"[Inject raw 802.11 frames]" \
"(-s --smoke-test)"{-s,--smoke-test}"[Probe if machine survived fuzz-tested packet]" \