Skip to content

Commit 781a692

Browse files
committed
JsonSchema: document swap.separate
1 parent 9c37f1b commit 781a692

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

doc/json_schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3002,6 +3002,11 @@
30023002
"const": "swap",
30033003
"description": "Print swap (paging file) space usage"
30043004
},
3005+
"separate": {
3006+
"type": "boolean",
3007+
"description": "Set if detailed swap devices should be reported on separate lines instead of a summary",
3008+
"default": false
3009+
},
30053010
"percent": {
30063011
"$ref": "#/$defs/percent"
30073012
},

presets/all.jsonc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@
5252
},
5353
"memory",
5454
"physicalmemory",
55-
"swap",
55+
{
56+
"type": "swap",
57+
"separate": true
58+
},
5659
"disk",
5760
"btrfs",
5861
"zpool",

presets/ci.jsonc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@
5454
},
5555
"memory",
5656
"physicalmemory",
57-
"swap",
57+
{
58+
"type": "swap",
59+
"separate": true
60+
},
5861
"disk",
5962
"btrfs",
6063
"zpool",

0 commit comments

Comments
 (0)