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
parent
64e33bf9ad
commit
ac55db508a
|
|
@ -298,6 +298,8 @@ int main(int argc, char **argv)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case '?':
|
case '?':
|
||||||
|
print_usage(basename(argv[0]));
|
||||||
|
exit(0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue