summaryrefslogtreecommitdiff
path: root/trafgen.zsh
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-04-30 13:08:12 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-04-30 13:11:03 +0200
commit190dc7879a1a8813f2332ee7b39b743a49ac2771 (patch)
tree57f6bb3fde75588a35bb2c0c0fb5b282ec35fd7c /trafgen.zsh
parent0ce9ef48153cf719c56894593bfb634cd4046647 (diff)
trafgen: Don't expose -k/--kernel-pull anymore and warn if it still used
The -k/--kernel-pull option got useless with commit c139e80 ("trafgen: remove timer-based trigger model"). Instead of entirely removing it and thus possibly breaking people's scripts, still accept it as an option, but warn the user about it. We might want to remove the option in a future release. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen.zsh')
-rw-r--r--trafgen.zsh1
1 files changed, 0 insertions, 1 deletions
diff --git a/trafgen.zsh b/trafgen.zsh
index 6ebcda1..d20540d 100644
--- a/trafgen.zsh
+++ b/trafgen.zsh
@@ -44,7 +44,6 @@ _arguments -s -S \
"(-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:"
"(-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" \