Skip to content

Commit a66e1b2

Browse files
committed
Doc: fix SI size prefix description
Fix #1589
1 parent 8000574 commit a66e1b2

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Bugfixes:
55
* Fix `{day-pretty}` output in custom format (DateTime, Windows)
66
* Fix VanillaOS detection (OS, Linux)
77
* Fix secure boot testing (Bootmgr, Linux)
8+
* Fix the SI unit "kB" in help message
89

910
Features:
1011
* Support Chassis module in macOS (Chassis, macOS)

doc/json_schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,11 +786,11 @@
786786
},
787787
{
788788
"const": "si",
789-
"description": "1000 Bytes = 1 KB, 1000 KB = 1 MB, ..."
789+
"description": "1000 Bytes = 1 kB, 1000 kB = 1 MB, ..."
790790
},
791791
{
792792
"const": "jedec",
793-
"description": "1024 Bytes = 1 kB, 1024 K = 1 MB, ..."
793+
"description": "1024 Bytes = 1 KB, 1024 KB = 1 MB, ..."
794794
}
795795
]
796796
},

src/data/help.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,8 +683,8 @@
683683
"type": "enum",
684684
"enum": {
685685
"IEC": "1024 Bytes = 1 KiB, 1024 KiB = 1 MiB, ...",
686-
"SI": "1000 Bytes = 1 KB, 1000 KB = 1 MB, ...",
687-
"JEDEC": "1024 Bytes = 1 kB, 1024 kB = 1 MB, ..."
686+
"SI": "1000 Bytes = 1 kB, 1000 kB = 1 MB, ...",
687+
"JEDEC": "1024 Bytes = 1 KB, 1024 KB = 1 MB, ..."
688688
},
689689
"default": "IEC"
690690
}

src/options/display.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
typedef enum __attribute__((__packed__)) FFSizeBinaryPrefixType
66
{
77
FF_SIZE_BINARY_PREFIX_TYPE_IEC, // 1024 Bytes = 1 KiB, 1024 KiB = 1 MiB, ... (standard)
8-
FF_SIZE_BINARY_PREFIX_TYPE_SI, // 1000 Bytes = 1 KB, 1000 KB = 1 MB, ...
9-
FF_SIZE_BINARY_PREFIX_TYPE_JEDEC, // 1024 Bytes = 1 kB, 1024 kB = 1 MB, ...
8+
FF_SIZE_BINARY_PREFIX_TYPE_SI, // 1000 Bytes = 1 kB, 1000 kB = 1 MB, ...
9+
FF_SIZE_BINARY_PREFIX_TYPE_JEDEC, // 1024 Bytes = 1 KB, 1024 KB = 1 MB, ...
1010
} FFSizeBinaryPrefixType;
1111

1212
typedef enum __attribute__((__packed__)) FFTemperatureUnit

0 commit comments

Comments
 (0)