summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2023-04-18 14:39:49 +0300
committerStephen Hemminger <stephen@networkplumber.org>2023-04-24 09:33:15 -0700
commitb54a4c9fc0cb9d382b1d4e479a43fd7675804c20 (patch)
tree9773c15cfb07028516429e019f67c7c441c6c91f
parent8c028693cd5fc9b5ceb43dfdfeb48ad47de90e9b (diff)
downloadiproute2-b54a4c9fc0cb9d382b1d4e479a43fd7675804c20.tar.gz
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@nxp.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--tc/q_taprio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tc/q_taprio.c b/tc/q_taprio.c
index e00d2aa9..c0da65fe 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@OFFSET COUNT@OFFSET COUNT@OFFSET ...] "
- " [ [sched-entry index cmd gate-mask interval] ... ] "
- " [base-time time] [txtime-delay delay]"
+ " [num_tc NUMBER] [map P0 P1 ...]\n"
+ " [queues COUNT@OFFSET COUNT@OFFSET COUNT@OFFSET ...]\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");
}