diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-01-05 16:47:41 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-01-05 16:48:27 +0100 |
commit | 391ed1e5327fedfe4215b07dd98bf04a6ad0f5cb (patch) | |
tree | eb6d0bd297e45eb94c66dcb547fe1e5222abedf3 | |
parent | 06a1eb3e6714575ffd47fe35a95b27bdb77e3187 (diff) |
zsh: trafgen: Add completion for -b/--rate
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r-- | trafgen.zsh | 1 |
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" \ |