summaryrefslogtreecommitdiff
path: root/.zsh/completion/_trafgen.zsh
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-10-29 09:36:34 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-10-29 09:36:34 +0100
commitfbcbfac1878fd6b21a5d40ff79a7b86feed08e97 (patch)
tree0f8638d1c7ee1bb0233b9da233f1dacff1644e50 /.zsh/completion/_trafgen.zsh
parent8431852cbed2e736e9c6a5561e822c160a118a0d (diff)
completion: Update completitions for netsniff-ng tools
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to '.zsh/completion/_trafgen.zsh')
-rw-r--r--.zsh/completion/_trafgen.zsh8
1 files changed, 5 insertions, 3 deletions
diff --git a/.zsh/completion/_trafgen.zsh b/.zsh/completion/_trafgen.zsh
index 8fd1a37..57dcf8c 100644
--- a/.zsh/completion/_trafgen.zsh
+++ b/.zsh/completion/_trafgen.zsh
@@ -42,15 +42,17 @@ _arguments -s -S \
"(-n --num)"{-n,--num}"[Number of packets until exit (def: 0)]" \
"(-r --rand)"{-r,--rand}"[Randomize packet selection (def: round robin)]" \
"(-P --cpus)"{-P,--cpus}"[Specify number of forks(<= CPUs) (def: #CPUs)]:cpunum:_cpu" \
- "(-t --gap)"{-t,--gap}"[Interpacket gap in us (approx)]" \
+ "(-t --gap)"{-t,--gap}"[Set approx. interpacket gap (s/ms/us/ns, def: us)]:gap:"
"(-S --ring-size)"{-S,--ring-size}"[Manually set mmap size (KiB/MiB/GiB)]:ringsize:" \
- "(-k --kernel-pull)"{-k,--kernel-pull}"[Kernel pull from user interval in us (def: 10us)]:kernelpull:_gnu_generic" \
"(-E --seed)"{-E,--seed}"[Manually set srand(3) seed]" \
"(-u --user)"{-u,--user}"[Drop privileges and change to userid]:user:_user_info" \
"(-g --group)"{-g,--group}"[Drop privileges and change to groupid]:group:_group_info" \
+ "(-H --prio-high)"{-H,--prio-high}"[Make this high priority process]" \
+ "(-A --no-sock-mem)"{-A,--no-sock-mem}"[Do not change default socket memory setting]" \
+ "(-Q --notouch-irq)"{-Q,--notouch-irq}"[Do not touch IRQ CPU affinity of NIC]" \
"(-e --example)"{-e,--example}"[Show built-in packet config example]:" \
"(-V --verbose)"{-V,--verbose}"[Be more verbose]" \
"(-C --no-cpu-stats)"{-C,--no-cpu-stats}"[Do not print CPU time statistics on exit]" \
- {-v,--version}"[Show version]:" \
+ {-v,--version}"[Show version and exit]:" \
{-h,--help}"[Guess what?!]:" \
"*::args:_gnu_generic"