While the meaning of "bps" or "ns" may be relatively easy to understand,
some of the CAN specific units such as "mtq" (minimum time quanta) may be
harder to understand.
Add a new paragraph to the help menu which describes all the different
units used for the CAN bittiming parameters.
Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
---
ip/iplink_can.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/ip/iplink_can.c b/ip/iplink_can.c
index ee27659c..a2f59764 100644
--- a/ip/iplink_can.c
+++ b/ip/iplink_can.c
@@ -60,6 +60,13 @@ static void print_usage(FILE *f)
"\t TDCO := { NUMBER in mtq }\n"
"\t TDCF := { NUMBER in mtq }\n"
"\t RESTART-MS := { 0 | NUMBER in ms }\n"
+ "\n"
+ "\tUnits:\n"
+ "\t bps := bit per second\n"
+ "\t ms := milli second\n"
+ "\t mtq := minimum time quanta\n"
+ "\t ns := nano second\n"
+ "\t tq := time quanta\n"
);
}
--
2.51.2