diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-12-17 13:40:11 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-12-17 13:42:12 +0100 |
commit | a8931ffedd1662d22efbe542b2464ceb55644cb3 (patch) | |
tree | b9f0021f4db1f18608e67839552842db038f1b1e /trafgen.zsh | |
parent | 205ca73cd1b724795f7ec295e85fbb50cbbb430b (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>
Diffstat (limited to 'trafgen.zsh')
-rw-r--r-- | trafgen.zsh | 1 |
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]" \ |