mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 15:50:29 +01:00
tools: libinput-record: bail out on invalid commandline arguments
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
03bc7121eb
commit
1457ac8446
1 changed files with 3 additions and 0 deletions
|
|
@ -2387,6 +2387,9 @@ main(int argc, char **argv)
|
|||
case OPT_LIBINPUT:
|
||||
with_libinput = true;
|
||||
break;
|
||||
default:
|
||||
usage();
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue