Skip to content

Commit

Permalink
Merge pull request linux-can#519 from marckleinebudde/can-calc-bit-ti…
Browse files Browse the repository at this point in the history
…ming-fix-option-parsing

can-calc-bit-timing: in case of invalid option exit with error
  • Loading branch information
marckleinebudde authored May 7, 2024
2 parents 8d7d765 + 4a9c005 commit 185c14f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions calc-bit-timing/can-calc-bit-timing.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 185c14f

Please sign in to comment.