From 371d8e6da4cefa10aa885f935595e1df88150252 Mon Sep 17 00:00:00 2001 From: Nick Elmschig Date: Mon, 8 Oct 2018 13:26:15 -0700 Subject: [PATCH] Fix CAN ID in candump usage, should be 12345678 --- candump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/candump.c b/candump.c index f98d1c3..356e478 100644 --- a/candump.c +++ b/candump.c @@ -152,7 +152,7 @@ void print_usage(char *prg) fprintf(stderr, "%s -c -c -ta can0,123:7FF,400:700,#000000FF can2,400~7F0 can3 can8\n", prg); fprintf(stderr, "%s -l any,0~0,#FFFFFFFF (log only error frames but no(!) data frames)\n", prg); fprintf(stderr, "%s -l any,0:0,#FFFFFFFF (log error frames and also all data frames)\n", prg); - fprintf(stderr, "%s vcan2,92345678:DFFFFFFF (match only for extended CAN ID 12345678)\n", prg); + fprintf(stderr, "%s vcan2,12345678:DFFFFFFF (match only for extended CAN ID 12345678)\n", prg); fprintf(stderr, "%s vcan2,123:7FF (matches CAN ID 123 - including EFF and RTR frames)\n", prg); fprintf(stderr, "%s vcan2,123:C00007FF (matches CAN ID 123 - only SFF and non-RTR frames)\n", prg); fprintf(stderr, "\n");