]> diplodocus.org Git - xorg-xinput/commit
Add --name-only flag for 'xinput list'.
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 18 Jan 2011 02:55:46 +0000 (12:55 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 19 Jan 2011 21:41:58 +0000 (07:41 +1000)
commitab90151162d39607e264e715a582e783e0da3c3a
tree84a2480e811468d31c3579a317656e312b4f8464
parentff1ff82438d35e6d68d1bf3b16bfc3520120247c
Add --name-only flag for 'xinput list'.

The default output of xinput list is hard to parse by scripts. Provide a
--name-only option to print the device name only, without any other
information.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dirk Wallenstein <halsmit@t-online.de>
Tested-by: Dirk Wallenstein <halsmit@t-online.de>
man/xinput.man
src/list.c
src/xinput.c