From: Vincent Mailhol Date: Wed, 3 Dec 2025 18:24:28 +0000 (+0100) Subject: iplink_can: print_usage: fix the text indentation X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf9261af230377cf9de7011c6e266756d974514b;p=thirdparty%2Fiproute2.git iplink_can: print_usage: fix the text indentation The description of the BITRATE variable is not correctly aligned with the other ones. Put it on a new line with the same indentation as the other variables. This done, reindent everything to only one tabulation (was one tabulation and two spaces before). Before this patch...: $ ip link help can Usage: ip link set DEVICE type can (...) Where: BITRATE := { NUMBER in bps } SAMPLE-POINT := { 0.000..0.999 } TQ := { NUMBER in ns } PROP-SEG := { NUMBER in tq } PHASE-SEG1 := { NUMBER in tq } PHASE-SEG2 := { NUMBER in tq } SJW := { NUMBER in tq } TDCV := { NUMBER in tc } TDCO := { NUMBER in tc } TDCF := { NUMBER in tc } RESTART-MS := { 0 | NUMBER in ms } ...and after: $ ip link help can Usage: ip link set DEVICE type can (...) Where: BITRATE := { NUMBER in bps } SAMPLE-POINT := { 0.000..0.999 } TQ := { NUMBER in ns } PROP-SEG := { NUMBER in tq } PHASE-SEG1 := { NUMBER in tq } PHASE-SEG2 := { NUMBER in tq } SJW := { NUMBER in tq } TDCV := { NUMBER in tc } TDCO := { NUMBER in tc } TDCF := { NUMBER in tc } RESTART-MS := { 0 | NUMBER in ms } Signed-off-by: Vincent Mailhol --- diff --git a/ip/iplink_can.c b/ip/iplink_can.c index 1afdf088..f3640fe0 100644 --- a/ip/iplink_can.c +++ b/ip/iplink_can.c @@ -48,17 +48,18 @@ static void print_usage(FILE *f) "\n" "\t[ termination { 0..65535 } ]\n" "\n" - "\tWhere: BITRATE := { NUMBER in bps }\n" - "\t SAMPLE-POINT := { 0.000..0.999 }\n" - "\t TQ := { NUMBER in ns }\n" - "\t PROP-SEG := { NUMBER in tq }\n" - "\t PHASE-SEG1 := { NUMBER in tq }\n" - "\t PHASE-SEG2 := { NUMBER in tq }\n" - "\t SJW := { NUMBER in tq }\n" - "\t TDCV := { NUMBER in tc }\n" - "\t TDCO := { NUMBER in tc }\n" - "\t TDCF := { NUMBER in tc }\n" - "\t RESTART-MS := { 0 | NUMBER in ms }\n" + "\tWhere:\n" + "\t BITRATE := { NUMBER in bps }\n" + "\t SAMPLE-POINT := { 0.000..0.999 }\n" + "\t TQ := { NUMBER in ns }\n" + "\t PROP-SEG := { NUMBER in tq }\n" + "\t PHASE-SEG1 := { NUMBER in tq }\n" + "\t PHASE-SEG2 := { NUMBER in tq }\n" + "\t SJW := { NUMBER in tq }\n" + "\t TDCV := { NUMBER in tc }\n" + "\t TDCO := { NUMBER in tc }\n" + "\t TDCF := { NUMBER in tc }\n" + "\t RESTART-MS := { 0 | NUMBER in ms }\n" ); }