[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230418113953.818831-7-vladimir.oltean@nxp.com>
Date: Tue, 18 Apr 2023 14:39:49 +0300
From: Vladimir Oltean <vladimir.oltean@....com>
To: netdev@...r.kernel.org
Cc: David Ahern <dsahern@...nel.org>,
Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH v2 iproute2-next 06/10] tc/taprio: break up help text into multiple lines
Currently, the output of "tc qdisc add dev lo taprio help" looks
absolutely horrible, it looks better in the source code. Put new lines
in the output everywhere where the text switches to a new line in the
source code.
Signed-off-by: Vladimir Oltean <vladimir.oltean@....com>
---
v1->v2: patch is new
tc/q_taprio.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tc/q_taprio.c b/tc/q_taprio.c
index e00d2aa9a842..c0da65fe3744 100644
--- a/tc/q_taprio.c
+++ b/tc/q_taprio.c
@@ -45,10 +45,10 @@ static void explain(void)
{
fprintf(stderr,
"Usage: ... taprio clockid CLOCKID\n"
- " [num_tc NUMBER] [map P0 P1 ...] "
- " [queues COUNT@...SET COUNT@...SET COUNT@...SET ...] "
- " [ [sched-entry index cmd gate-mask interval] ... ] "
- " [base-time time] [txtime-delay delay]"
+ " [num_tc NUMBER] [map P0 P1 ...]\n"
+ " [queues COUNT@...SET COUNT@...SET COUNT@...SET ...]\n"
+ " [ [sched-entry index cmd gate-mask interval] ... ]\n"
+ " [base-time time] [txtime-delay delay]\n"
"\n"
"CLOCKID must be a valid SYS-V id (i.e. CLOCK_TAI)\n");
}
--
2.34.1
Powered by blists - more mailing lists