summaryrefslogtreecommitdiff
path: root/trafgen.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen.zsh')
-rw-r--r--trafgen.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/trafgen.zsh b/trafgen.zsh
index 2bfe226..2fba722 100644
--- a/trafgen.zsh
+++ b/trafgen.zsh
@@ -44,6 +44,7 @@ _arguments -s -S \
"(-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}"[Set approx. interpacket gap (s/ms/us/ns, def: us)]:gap:" \
+ "(-b --rate)"(-b,--rate)"[Send traffic at specified rate (pps/B/kB/MB/GB/kbit/Mbit/Gbit/KiB/MiB/GiB):rate:" \
"(-S --ring-size)"{-S,--ring-size}"[Manually set mmap size (KiB/MiB/GiB)]:ringsize:" \
"(-E --seed)"{-E,--seed}"[Manually set srand(3) seed]" \
"(-u --user)"{-u,--user}"[Drop privileges and change to userid]:user:_user_info" \