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

Bryce Harrington bryce at canonical.com
Wed Nov 30 00:20:08 PST 2011


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