tools: libinput-record: bail out on invalid commandline arguments

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2019-11-26 09:38:51 +10:00
parent 03bc7121eb
commit 1457ac8446

View file

@ -2387,6 +2387,9 @@ main(int argc, char **argv)
case OPT_LIBINPUT:
with_libinput = true;
break;
default:
usage();
goto out;
}
}