[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230831140135.56528-1-francois.michel@uclouvain.be>
Date: Thu, 31 Aug 2023 16:01:32 +0200
From: francois.michel@...ouvain.be
To:
Cc: netdev@...r.kernel.org,
francois.michel@...ouvain.be,
stephen@...workplumber.org,
petrm@...dia.com,
dsahern@...nel.org,
donald.hunter@...il.com
Subject: [PATCH iproute2-next] tc: fix several typos in netem's usage string
From: François Michel <francois.michel@...ouvain.be>
Add missing brackets and surround brackets by single spaces
in the netem usage string.
Also state the P14 argument as optional.
Signed-off-by: François Michel <francois.michel@...ouvain.be>
---
tc/q_netem.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/tc/q_netem.c b/tc/q_netem.c
index 3be647ff..5d5aad80 100644
--- a/tc/q_netem.c
+++ b/tc/q_netem.c
@@ -24,20 +24,20 @@ static void explain(void)
{
fprintf(stderr,
"Usage: ... netem [ limit PACKETS ]\n"
- " [ delay TIME [ JITTER [CORRELATION]]]\n"
+ " [ delay TIME [ JITTER [ CORRELATION ] ] ]\n"
" [ distribution {uniform|normal|pareto|paretonormal} ]\n"
- " [ corrupt PERCENT [CORRELATION]]\n"
- " [ duplicate PERCENT [CORRELATION]]\n"
- " [ loss random PERCENT [CORRELATION]]\n"
- " [ loss state P13 [P31 [P32 [P23 P14]]]\n"
- " [ loss gemodel PERCENT [R [1-H [1-K]]]\n"
+ " [ corrupt PERCENT [ CORRELATION ] ]\n"
+ " [ duplicate PERCENT [ CORRELATION ] ]\n"
+ " [ loss random PERCENT [ CORRELATION ] ]\n"
+ " [ loss state P13 [ P31 [ P32 [ P23 [ P14 ] ] ] ] ]\n"
+ " [ loss gemodel PERCENT [ R [ 1-H [ 1-K ] ] ] ]\n"
" [ seed SEED ]\n"
" [ ecn ]\n"
- " [ reorder PERCENT [CORRELATION] [ gap DISTANCE ]]\n"
- " [ rate RATE [PACKETOVERHEAD] [CELLSIZE] [CELLOVERHEAD]]\n"
- " [ slot MIN_DELAY [MAX_DELAY] [packets MAX_PACKETS] [bytes MAX_BYTES]]\n"
+ " [ reorder PERCENT [ CORRELATION ] [ gap DISTANCE ] ]\n"
+ " [ rate RATE [ PACKETOVERHEAD ] [ CELLSIZE ] [ CELLOVERHEAD ] ]\n"
+ " [ slot MIN_DELAY [ MAX_DELAY ] [ packets MAX_PACKETS ] [ bytes MAX_BYTES ] ]\n"
" [ slot distribution {uniform|normal|pareto|paretonormal|custom}\n"
- " DELAY JITTER [packets MAX_PACKETS] [bytes MAX_BYTES]]\n");
+ " DELAY JITTER [ packets MAX_PACKETS ] [ bytes MAX_BYTES ] ]\n");
}
static void explain1(const char *arg)
base-commit: 865dd3ab1580092221c73317a844ee65f032c9e8
--
2.41.0
Powered by blists - more mailing lists