From 8048101eca4eb492e55f8b9a4db470fdf7818aee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Thu, 14 Dec 2023 15:49:43 +0800 Subject: [PATCH] Doc: fix documentation of `--ds-force-drm` --- doc/json_schema.json | 7 ++++--- src/data/help.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/json_schema.json b/doc/json_schema.json index 99b908c63..9e9fa4914 100644 --- a/doc/json_schema.json +++ b/doc/json_schema.json @@ -256,7 +256,7 @@ { "type": "bool", "const": false, - "description": "Try `libdrm` first, then `sysfs` if libdrm failed" + "description": "Try `wayland`, then `x11`, then `drm`" }, { "type": "string", @@ -266,9 +266,10 @@ { "type": "bool", "const": true, - "description": "Don't force using DRM" + "description": "Try `libdrm` first, then `sysfs` if libdrm failed" } - ] + ], + "default": false }, "wmiTimeout": { "type": "integer", diff --git a/src/data/help.json b/src/data/help.json index 8dcd3c03a..232598eda 100644 --- a/src/data/help.json +++ b/src/data/help.json @@ -130,7 +130,7 @@ "enum": { "true": "Try `libdrm` first, then `sysfs` if libdrm failed", "sysfs-only": "Use `/sys/class/drm` only", - "false": "Don't force using DRM" + "false": "Try `wayland`, then `x11`, then `drm`" } } }