mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
Merge pull request #519 from marckleinebudde/can-calc-bit-timing-fix-option-parsing
can-calc-bit-timing: in case of invalid option exit with error
This commit is contained in:
@@ -1514,11 +1514,6 @@ int main(int argc, char *argv[])
|
||||
data->verbose = true;
|
||||
break;
|
||||
|
||||
case '?':
|
||||
print_usage(basename(argv[0]));
|
||||
exit(EXIT_SUCCESS);
|
||||
break;
|
||||
|
||||
case OPT_TQ:
|
||||
opt_bt->tq = strtoul(optarg, NULL, 10);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user