From 391ed1e5327fedfe4215b07dd98bf04a6ad0f5cb Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 5 Jan 2016 16:47:41 +0100 Subject: zsh: trafgen: Add completion for -b/--rate Signed-off-by: Tobias Klauser --- trafgen.zsh | 1 + 1 file changed, 1 insertion(+) 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" \ -- cgit v1.2.3-54-g00ecf