]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
dcb: ets: Change the way show parameters are given in synopsis
authorPetr Machata <me@pmachata.org>
Thu, 10 Dec 2020 23:02:17 +0000 (00:02 +0100)
committerDavid Ahern <dsahern@gmail.com>
Mon, 14 Dec 2020 16:41:22 +0000 (16:41 +0000)
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@pmachata.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
dcb/dcb_ets.c
man/man8/dcb-ets.8

index 94c6019e8095eed6d9e9a8607f94586431959122..c20881051ffe6637da47dd865b042ceda13537ec 100644 (file)
@@ -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"
        );
 }
index 0ae3587cb66ad501fe29e9e0e68334684c32ce74..1ef0948fb06236a97fb3e8b268e50bee63942f13 100644 (file)
@@ -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