Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can-calc-bit-timing: in case of invalid option exit with error #519

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
can-calc-bit-timing: in case of invalid option exit with error
Link: #518
Reported-by: https://github.com/EnricoMontecaggi
Fixes: f4a9e5b ("can-calc-bit-timing.c: Reformat help/usage output to be compatible with help2man.")
  • Loading branch information
marckleinebudde committed May 7, 2024
commit 4a9c00539b2bab70862079a958ebcfe6598d8be5
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
Loading