tools: make event-debug's option parsing more flexible
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 18 Dec 2014 02:56:14 +0000 (12:56 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 23 Dec 2014 00:50:31 +0000 (10:50 +1000)
commit93a2cb21e0fef6ac8fe86c0250722a1dabc37fae
tree1f6225696e244f00bb84c880370d1b46d31122f7
parent380137ca29b992be857f67c99f60bbeb11146fd7
tools: make event-debug's option parsing more flexible

We need to be able to turn config options on/off for testing, so switch to
something that's a bit more flexible than characters that represent the
options.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/event-debug.c