mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-29 12:30:08 +01: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);
|
||||
if (!quirks) {
|
||||
fprintf(stderr,
|
||||
"Failed to initialize the device quirks. "
|
||||
"Please see the above errors "
|
||||
"and/or re-run with --verbose for more details\n");
|
||||
"Failed to load the device quirks from %s%s%s. "
|
||||
"This will negatively affect device behavior. "
|
||||
"See %s/device-quirks.html for details.\n",
|
||||
data_path,
|
||||
override_file ? " and " : "",
|
||||
override_file ? override_file : "",
|
||||
HTTP_DOC_LINK);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue