From d5997b9f29f345a894f0b2ac2315a0291678f7fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Wed, 27 Dec 2023 10:16:33 +0800 Subject: [PATCH] Doc: document `--physicaldisk-temp` --- CHANGELOG.md | 1 + doc/json_schema.json | 5 +++++ src/data/help.json | 9 +++++++++ 3 files changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f3da617e..c437f586e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ Features: * Use Intel Graphics Control Library (IGCL) to detect more GPU information. Windows only (GPU, Windows) * Improve support of Asahi Linux (Brightness / CPU / GPU, Linux) * Support more properties of physical disks (PhysicalDisk) +* Support SSD temperature detection with `--physicaldisk-temp` (PhysicalDisk) Bugfixes: * Fix Windows partition detection for WSL2 (Linux, Disk) diff --git a/doc/json_schema.json b/doc/json_schema.json index 9da9dc902..dd097dbe6 100644 --- a/doc/json_schema.json +++ b/doc/json_schema.json @@ -1381,6 +1381,11 @@ "description": "Show disks with given name prefix only", "type": "string" }, + "temp": { + "description": "Detect and display SSD temperature if supported", + "type": "boolean", + "default": false + }, "key": { "$ref": "#/$defs/key" }, diff --git a/src/data/help.json b/src/data/help.json index 946af0603..44f264caf 100644 --- a/src/data/help.json +++ b/src/data/help.json @@ -954,6 +954,15 @@ "type": "str" } }, + { + "long": "physicaldisk-temp", + "desc": "Detect and display SSD temperature if supported", + "arg": { + "type": "bool", + "optional": true, + "default": false + } + }, { "long": "bluetooth-show-disconnected", "desc": "Set if disconnected bluetooth devices should be printed",