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

Bill Spitzak spitzak at gmail.com
Thu Dec 18 20:24:24 PST 2014


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,
> +};

Should these perhaps be set to 'd', 'u', 'h', and 'v'?


More information about the wayland-devel mailing list