[PATCH] xinput: Assume 'list' by default if no args given.

Jeremy Huddleston jeremyhu at apple.com
Wed Nov 30 01:14:28 PST 2011


I think the patch I sent is an improvement because it avoids an XOpenDisplay() for --help.

On Nov 30, 2011, at 12:20 AM, Bryce Harrington wrote:

> On Tue, Nov 29, 2011 at 11:49:01PM -0800, Jeremy Huddleston wrote:
>> Does anything trigger usage() now?  Can you send a followup (or squash in) support for 'xinput --help' for further consistency?
> 
> Yes, both -h and --help are already supported.  Also, it prints usage on
> any unrecognized command.
> 
> $ xinput fooBar
> usage :
>      xinput get-feedbacks <device name>
>      xinput set-ptr-feedback <device name> <threshold> <num> <denom>
>      xinput set-integer-feedback <device name> <feedback id> <value>
>      xinput get-button-map <device name>
>      ...
> 
> 



More information about the xorg-devel mailing list