cangen: fix help text about the fixed length information

The fixed values are given in hexadecimal letters only for the CAN-ID (-I)
and for the data (-D). The length information (-L) is a decimal value.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
pull/260/head
Oliver Hartkopp 2020-11-03 19:27:17 +01:00
parent 1e2c96e494
commit ff11fe7ad7
1 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ void print_usage(char *prg)
fprintf(stderr, "Generation modes:\n");
fprintf(stderr, " 'r' => random values (default)\n");
fprintf(stderr, " 'i' => increment values\n");
fprintf(stderr, " <hexvalue> => fix value using <hexvalue>\n\n");
fprintf(stderr, " <value> => fixed value (in hexadecimal for -I and -D)\n\n");
fprintf(stderr, "When incrementing the CAN data the data length code "
"minimum is set to 1.\n");
fprintf(stderr, "CAN IDs and data content are given and expected in hexadecimal values.\n\n");