]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc/taprio: break up help text into multiple lines
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 18 Apr 2023 11:39:49 +0000 (14:39 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 24 Apr 2023 16:33:15 +0000 (09:33 -0700)
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>
tc/q_taprio.c

index e00d2aa9a84266a967006b1bb4d320eb7a8b508f..c0da65fe37446f074e394730d452c08371558482 100644 (file)
@@ -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");
 }