diff options
author | Sean Anderson <sean.anderson@seco.com> | 2021-12-07 14:55:10 -0500 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2021-12-09 15:12:00 +0100 |
commit | 963e18342e93ca033a262fa23ce74105833bd1e8 (patch) | |
tree | 441089a8e51a548169de291be360d807d2e22211 | |
parent | 837bf9340953ae92fe4089f4a296a00a688f4bda (diff) |
trafgen: Fix documentation for seqinc and seqdec
These functions take the "times" argument as the second parameter, not
the third.
Fixes: 00e83a5 ("man: trafgen: finish syntax section")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r-- | trafgen.8 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -271,8 +271,8 @@ to write configurations: byte fill function: fill(<content>, <times>): fill(0xca, 128) compile-time random: rnd(<times>): rnd(128), rnd() runtime random numbers: drnd(<times>): drnd(128), drnd() - compile-time counter: seqinc(<start-val>, <increment>, <times>) - seqdec(<start-val>, <decrement>, <times>) + compile-time counter: seqinc(<start-val>, <times>, <increment>) + seqdec(<start-val>, <times>, <decrement>) runtime counter (1byte): dinc(<min-val>, <max-val>, <increment>) ddec(<min-val>, <max-val>, <decrement>) .PP |