summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tobias.klauser@zhinst.com>2015-12-14 17:12:55 +0100
committerTobias Klauser <tobias.klauser@zhinst.com>2015-12-14 17:12:55 +0100
commitee487be879431b5babea11218bf42b2d6d20809f (patch)
tree1a70c7fcad7b54cd979f48e50da941b548d99b3c
parent0eaa296281786245bd4fe936370c826f6275deaf (diff)
zsh: trafgen: Add missing backspace
The zsh completion of trafgen is missing a backspace after the -t/--gap option which leads to the completion not working correctly. Fix it. Signed-off-by: Tobias Klauser <tobias.klauser@zhinst.com>
-rw-r--r--trafgen.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen.zsh b/trafgen.zsh
index 57dcf8c..06ca353 100644
--- a/trafgen.zsh
+++ b/trafgen.zsh
@@ -42,7 +42,7 @@ _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}"[Set approx. interpacket gap (s/ms/us/ns, def: us)]:gap:"
+ "(-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:" \
"(-E --seed)"{-E,--seed}"[Manually set srand(3) seed]" \
"(-u --user)"{-u,--user}"[Drop privileges and change to userid]:user:_user_info" \