[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <9db3b144d02446d8c5613266c276b0552923434d.1607640819.git.me@pmachata.org>
Date: Fri, 11 Dec 2020 00:02:17 +0100
From: Petr Machata <me@...chata.org>
To: netdev@...r.kernel.org, dsahern@...il.com,
stephen@...workplumber.org
Cc: Petr Machata <me@...chata.org>
Subject: [PATCH iproute2-next 03/10] dcb: ets: Change the way show parameters are given in synopsis
None, one, or many parameters can be given on the command line, but
the current synopsis allows only none or one. Fix it.
Signed-off-by: Petr Machata <me@...chata.org>
---
dcb/dcb_ets.c | 6 +++---
man/man8/dcb-ets.8 | 13 ++++++++++---
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/dcb/dcb_ets.c b/dcb/dcb_ets.c
index 94c6019e8095..c20881051ffe 100644
--- a/dcb/dcb_ets.c
+++ b/dcb/dcb_ets.c
@@ -32,9 +32,9 @@ static void dcb_ets_help_show(void)
{
fprintf(stderr,
"Usage: dcb ets show dev STRING\n"
- " [ willing | ets-cap | cbs | tc-tsa | reco-tc-tsa |\n"
- " pg-bw | tc-bw | reco-tc-bw | prio-tc |\n"
- " reco-prio-tc ]\n"
+ " [ willing ] [ ets-cap ] [ cbs ] [ tc-tsa ]\n"
+ " [ reco-tc-tsa ] [ pg-bw ] [ tc-bw ] [ reco-tc-bw ]\n"
+ " [ prio-tc ] [ reco-prio-tc ]\n"
"\n"
);
}
diff --git a/man/man8/dcb-ets.8 b/man/man8/dcb-ets.8
index 0ae3587cb66a..1ef0948fb062 100644
--- a/man/man8/dcb-ets.8
+++ b/man/man8/dcb-ets.8
@@ -17,9 +17,16 @@ the DCB (Data Center Bridging) subsystem
.ti -8
.B dcb ets show dev
.RI DEV
-.RB "[ { " willing " | " ets-cap " | " cbs " | " tc-tsa " | " reco-tc-tsa
-.RB " | " pg-bw " | " tc-bw " | " reco-tc-bw " | " prio-tc
-.RB " | " reco-prio-tc " } ]"
+.RB "[ " willing " ]"
+.RB "[ " ets-cap " ]"
+.RB "[ " cbs " ]"
+.RB "[ " tc-tsa " ]"
+.RB "[ " reco-tc-tsa " ]"
+.RB "[ " pg-bw " ]"
+.RB "[ " tc-bw " ]"
+.RB "[ " reco-tc-bw " ]"
+.RB "[ " prio-tc " ]"
+.RB "[ " reco-prio-tc " ]"
.ti -8
.B dcb ets set dev
--
2.25.1
Powered by blists - more mailing lists