Skip to content

Commit ccbb252

Browse files
committed
DiskIO: update doc and json schema
1 parent d16bdb3 commit ccbb252

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

doc/json_schema.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@
545545
"datetime",
546546
"display",
547547
"disk",
548+
"diskio",
548549
"de",
549550
"font",
550551
"gamepad",
@@ -932,6 +933,31 @@
932933
},
933934
"additionalProperties": false
934935
},
936+
{
937+
"title": "Physical disk throughput (usage)",
938+
"properties": {
939+
"type": {
940+
"const": "diskio"
941+
},
942+
"namePrefix": {
943+
"title": "Show disks with given name prefix only",
944+
"type": "string"
945+
},
946+
"key": {
947+
"$ref": "#/$defs/key"
948+
},
949+
"keyColor": {
950+
"$ref": "#/$defs/keyColor"
951+
},
952+
"keyWidth": {
953+
"$ref": "#/$defs/keyWidth"
954+
},
955+
"format": {
956+
"$ref": "#/$defs/format"
957+
}
958+
},
959+
"additionalProperties": false
960+
},
935961
{
936962
"title": "GPU",
937963
"properties": {

src/data/help.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ Module specific options:
132132
--disk-show-readonly <?value>: Set if read only volumes should be printed. Default is false
133133
--disk-show-unknown <?value>: Set if unknown (unable to detect sizes) volumes should be printed. Default is false
134134
--disk-use-available <?value>: Use f_bavail (lpFreeBytesAvailableToCaller for Windows) instead of f_bfree to calculate used bytes. Default is false
135+
--diskio-name-prefix <str>: Show disks with given name prefix only. Default is empty
135136
--bluetooth-show-disconnected: <?value>: Set if disconnected bluetooth devices should be printed. Default is false
136137
--display-compact-type: <?string>: Set if all displays should be printed in one line. Default is none
137138
--display-detect-name: <?value>: Set if display name should be detected and printed (if supported). Default is false
@@ -151,8 +152,8 @@ Module specific options:
151152
--localip-name-prefix <str>: Show interfaces with given interface name prefix only. Default is empty
152153
--localip-default-route-only <?value>: Show the interface that is used for default routing only. Default is false
153154
--localip-compact <?value>: Show all IPs in one line. Default is false
154-
--netio-name-prefix <str>: Show interfaces with given name prefix only. Default is empty
155-
--netio-default-route-only <?value>: Show the interfac that is used for default routing only. Default is false
155+
--netio-name-prefix <str>: Show interfaces with given name prefix only. Default is empty
156+
--netio-default-route-only <?value>: Show the interfac that is used for default routing only. Default is false
156157
--publicip-timeout: Time in milliseconds to wait for the public ip server to respond. Default is disabled (0)
157158
--publicip-url: The URL of public IP detection server to be used.
158159
--weather-location: Set the location to be used. It must be URI encoded (eg a whitespace must be encoded as `+`).

0 commit comments

Comments
 (0)