summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2021-12-07 14:55:10 -0500
committerTobias Klauser <tklauser@distanz.ch>2021-12-09 15:12:00 +0100
commit963e18342e93ca033a262fa23ce74105833bd1e8 (patch)
tree441089a8e51a548169de291be360d807d2e22211
parent837bf9340953ae92fe4089f4a296a00a688f4bda (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.84
1 files changed, 2 insertions, 2 deletions
diff --git a/trafgen.8 b/trafgen.8
index 0b0fb31..5191872 100644
--- a/trafgen.8
+++ b/trafgen.8
@@ -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