Re: [PATCH libinput 1/8] tools: make event-debug's option parsing more flexible

2014-12-18 Thread Peter Hutterer
On Thu, Dec 18, 2014 at 08:24:24PM -0800, Bill Spitzak wrote: > On 12/18/2014 03:16 PM, Peter Hutterer wrote: > >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. > > >+enum options { >

Re: [PATCH libinput 1/8] tools: make event-debug's option parsing more flexible

2014-12-18 Thread Bill Spitzak
On 12/18/2014 03:16 PM, Peter Hutterer wrote: 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. +enum options { + OPT_DEVICE, + OPT_UDEV, + OPT_HELP, + OPT_VERBOSE,

[PATCH libinput 1/8] tools: make event-debug's option parsing more flexible

2014-12-18 Thread Peter Hutterer
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 --- tools/event-debug.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --