From 0bac93093bbf71ee3fc2c9c55dbb7b6ae6f8dcf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Tue, 21 Nov 2023 21:39:10 +0800 Subject: [PATCH] Help: fix typo --- src/data/help.json | 4 +++- src/options/display.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/data/help.json b/src/data/help.json index fbb707f80..48e197cf8 100644 --- a/src/data/help.json +++ b/src/data/help.json @@ -471,6 +471,7 @@ { "long": "set", "desc": "Hard set the value of a key", + "remark": "Deprecated. Use \"Custom\" module instead", "arg": { "type": "key=value" } @@ -478,6 +479,7 @@ { "long": "set-keyless", "desc": "Hard set the value of a key, but don't print the key or the separator", + "remark": "Deprecated. Use \"Custom\" module instead", "arg": { "type": "key=value" } @@ -517,7 +519,7 @@ "enum": { "IEC": "1024 Bytes = 1 KiB, 1024 KiB = 1 MiB, ...", "SI": "1000 Bytes = 1 KB, 1000 KB = 1 MB, ...", - "JEDEC": "1024 Bytes = 1 kB, 1024 K = 1 MB, ..." + "JEDEC": "1024 Bytes = 1 kB, 1024 kB = 1 MB, ..." }, "default": "IEC" } diff --git a/src/options/display.h b/src/options/display.h index 4591734c5..c1ef5a886 100644 --- a/src/options/display.h +++ b/src/options/display.h @@ -6,7 +6,7 @@ typedef enum FFBinaryPrefixType { FF_BINARY_PREFIX_TYPE_IEC, // 1024 Bytes = 1 KiB, 1024 KiB = 1 MiB, ... (standard) FF_BINARY_PREFIX_TYPE_SI, // 1000 Bytes = 1 KB, 1000 KB = 1 MB, ... - FF_BINARY_PREFIX_TYPE_JEDEC, // 1024 Bytes = 1 kB, 1024 K = 1 MB, ... + FF_BINARY_PREFIX_TYPE_JEDEC, // 1024 Bytes = 1 kB, 1024 kB = 1 MB, ... } FFBinaryPrefixType; typedef enum FFTemperatureUnit