projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03bc712
)
tools: libinput-record: bail out on invalid commandline arguments
author
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 25 Nov 2019 23:38:51 +0000
(09:38 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 27 Nov 2019 00:34:18 +0000
(10:34 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/libinput-record.c
patch
|
blob
|
history
diff --git
a/tools/libinput-record.c
b/tools/libinput-record.c
index 0e2f288abab720365f22864ad598fe623f169832..c934692be952902877cd172def3d853db6f81b92 100644
(file)
--- a/
tools/libinput-record.c
+++ b/
tools/libinput-record.c
@@
-2387,6
+2387,9
@@
main(int argc, char **argv)
case OPT_LIBINPUT:
with_libinput = true;
break;
+ default:
+ usage();
+ goto out;
}
}