mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
Merge pull request #424 from yashi/canbusload-add-error-message
canbusload: Enhance error message for missing bitrate
This commit is contained in:
@@ -325,6 +325,7 @@ int main(int argc, char **argv)
|
|||||||
nptr = strchr(ptr, '@');
|
nptr = strchr(ptr, '@');
|
||||||
|
|
||||||
if (!nptr) {
|
if (!nptr) {
|
||||||
|
fprintf(stderr, "Specify CAN interfaces in the form <CAN interface>@<bitrate>, e.g. can0@500000\n");
|
||||||
print_usage(prg);
|
print_usage(prg);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user