diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-06-26 13:15:13 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-07-03 15:16:59 +1000 |
commit | e723398c14b98ae3fea53e14d1b59a4751f543a7 (patch) | |
tree | a2d2446dac0c1c1ba1a82fcec6db1f1d493ad6b5 /tools/libinput-measure-touch-size | |
parent | 0d8c70baef41845795b410d236c650c58ab41e5d (diff) |
tools: rename list-quirks to the more generic "quirks list"
Enables us to easily add more tools where needed and it is
more consistent with the existing tools.
The commands are now:
libinput quirks list
libinput quirks validate
Fixes https://gitlab.freedesktop.org/libinput/libinput/issues/66
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/libinput-measure-touch-size')
-rwxr-xr-x | tools/libinput-measure-touch-size | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/libinput-measure-touch-size b/tools/libinput-measure-touch-size index 990a72a7..a2624354 100755 --- a/tools/libinput-measure-touch-size +++ b/tools/libinput-measure-touch-size @@ -224,12 +224,12 @@ class Device(object): def _init_thresholds_from_quirks(self): # This is replaced for the version in builddir but left as-is for # the installed version. For the builddir one we need to run the - # builddir list-quirks + # builddir quirks list builddir = '@BUILDDIR@' if builddir != '@' + 'BUILDDIR' + '@': - command = [os.path.join(builddir, 'libinput-list-quirks')] + command = [os.path.join(builddir, 'libinput-quirks'), 'list'] else: - command = ['libinput', 'list-quirks'] + command = ['libinput', 'quirks', 'list'] command.append(self.path) cmd = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE) if cmd.returncode != 0: |