From 47472cabc3a6fb101f0736e6bab84812fb5d1b0b Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Tue, 19 Sep 2023 11:18:16 +0200 Subject: [PATCH] can-calc-bit-timing: print_usage(): add --tq parameter to help text In 913311fc15a2 ("can-calc-bit-timing: add support to decode user supplied bit timing parameters") support to decide user supplied bit timing parameters was added. However, it was forgotten to add --tq to the help text. Add help text for the --tq paramter. Reported-by: https://github.com/EnricoMontecaggi Closes: https://github.com/linux-can/can-utils/issues/459 Fixes: 913311fc15a2 ("can-calc-bit-timing: add support to decode user supplied bit timing parameters") --- calc-bit-timing/can-calc-bit-timing.c | 1 + 1 file changed, 1 insertion(+) diff --git a/calc-bit-timing/can-calc-bit-timing.c b/calc-bit-timing/can-calc-bit-timing.c index 1b6f932b..f77d3256 100644 --- a/calc-bit-timing/can-calc-bit-timing.c +++ b/calc-bit-timing/can-calc-bit-timing.c @@ -108,6 +108,7 @@ static void print_usage(char *cmd) "\n" "Or supply low level bit timing parameters to decode them:\n" "\n" + "\t--tq Time quantum in ns\n" "\t--prop-seg Propagation segment in TQs\n" "\t--phase-seg1 Phase buffer segment 1 in TQs\n" "\t--phase-seg2 Phase buffer segment 2 in TQs\n"