cansniffer: exit after displaying help text

Do not start the application when the user wants to read the help text.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
pull/200/head
Oliver Hartkopp 2020-04-29 09:55:28 +02:00
parent 64e33bf9ad
commit ac55db508a
1 changed files with 2 additions and 0 deletions

View File

@ -298,6 +298,8 @@ int main(int argc, char **argv)
break;
case '?':
print_usage(basename(argv[0]));
exit(0);
break;
default: