mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-05 12:18:15 +02:00
tools/record: fix quirk error message
When libinput-record fails to parse the quirks, it suggest to use the --verbose flag to get more details. However, libinput-record does not support the --verbose flag. Replace the error message and add a link to the documentation instead. Signed-off-by: José Expósito <jose.exposito89@gmail.com>
This commit is contained in:
parent
ea9db278f3
commit
7bfdf52db2
1 changed files with 7 additions and 3 deletions
|
|
@ -1782,9 +1782,13 @@ print_device_quirks(struct record_device *dev)
|
||||||
QLOG_CUSTOM_LOG_PRIORITIES);
|
QLOG_CUSTOM_LOG_PRIORITIES);
|
||||||
if (!quirks) {
|
if (!quirks) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Failed to initialize the device quirks. "
|
"Failed to load the device quirks from %s%s%s. "
|
||||||
"Please see the above errors "
|
"This will negatively affect device behavior. "
|
||||||
"and/or re-run with --verbose for more details\n");
|
"See %s/device-quirks.html for details.\n",
|
||||||
|
data_path,
|
||||||
|
override_file ? " and " : "",
|
||||||
|
override_file ? override_file : "",
|
||||||
|
HTTP_DOC_LINK);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue