From: Vladimir Oltean Date: Tue, 18 Apr 2023 11:39:49 +0000 (+0300) Subject: tc/taprio: break up help text into multiple lines X-Git-Tag: v6.3.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b54a4c9fc0cb9d382b1d4e479a43fd7675804c20;p=thirdparty%2Fiproute2.git 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 Signed-off-by: Stephen Hemminger --- diff --git a/tc/q_taprio.c b/tc/q_taprio.c index e00d2aa9a..c0da65fe3 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"); }