|
122 | 122 | { |
123 | 123 | "long": "ds-force-drm", |
124 | 124 | "desc": "Set if only DRM should be used to detect displays", |
125 | | - "remark": "Use this option if you encountered problems with other detection method. Linux only", |
| 125 | + "remark": [ |
| 126 | + "Use this option if you encountered problems with other detection method.", |
| 127 | + "Linux only" |
| 128 | + ], |
126 | 129 | "arg": { |
127 | 130 | "type": "enum", |
128 | 131 | "optional": true, |
|
537 | 540 | { |
538 | 541 | "long": "percent-type", |
539 | 542 | "desc": "Set the percentage output type", |
540 | | - "remark": "1 for percentage number, 2 for bar, 3 for both, 6 for bar only, 9 for colored number", |
| 543 | + "remark": [ |
| 544 | + "1 for percentage number", |
| 545 | + "2 for bar", |
| 546 | + "3 for both", |
| 547 | + "6 for bar only", |
| 548 | + "9 for colored number" |
| 549 | + ], |
541 | 550 | "arg": { |
542 | 551 | "type": "num", |
543 | 552 | "default": 9 |
|
963 | 972 | "default": false |
964 | 973 | } |
965 | 974 | }, |
| 975 | + { |
| 976 | + "long": "diskio-detect-total", |
| 977 | + "desc": "Detect total bytes instead of current rate", |
| 978 | + "arg": { |
| 979 | + "type": "bool", |
| 980 | + "default": false |
| 981 | + } |
| 982 | + }, |
966 | 983 | { |
967 | 984 | "long": "diskio-name-prefix", |
968 | 985 | "desc": "Show disks with given name prefix only", |
|
996 | 1013 | } |
997 | 1014 | }, |
998 | 1015 | { |
999 | | - "long": "packages-winget", |
1000 | | - "desc": "Set if winget package count should be detected", |
1001 | | - "remark": "This option is extremely slow. You may need to increase value of '--processing-timeout' to make it actually work", |
| 1016 | + "long": "packages-disabled", |
| 1017 | + "desc": "A colon separated list of package managers to be disabled when detecting", |
| 1018 | + "remark": [ |
| 1019 | + "Some detection methods can be very slow.", |
| 1020 | + "You may need to increase value of '--processing-timeout' to make it actually work.", |
| 1021 | + "Use `--packages-disabled none` to enable all." |
| 1022 | + ], |
1002 | 1023 | "arg": { |
1003 | | - "type": "bool", |
1004 | | - "optional": true, |
1005 | | - "default": false |
| 1024 | + "type": "string", |
| 1025 | + "default": "winget" |
1006 | 1026 | } |
1007 | 1027 | }, |
1008 | 1028 | { |
|
1013 | 1033 | "enum": { |
1014 | 1034 | "none": "Disable this compact mode", |
1015 | 1035 | "original": "Print original resolutions", |
1016 | | - "scaled": "Print scaled resolutions" |
| 1036 | + "scaled": "Print scaled resolutions", |
| 1037 | + "original-with-refresh-rate": "Print original resolutions with refresh rate", |
| 1038 | + "scaled-with-refresh-rate": "Print scaled resolutions with refresh rate" |
1017 | 1039 | }, |
1018 | 1040 | "default": "none" |
1019 | 1041 | } |
|
1027 | 1049 | "default": false |
1028 | 1050 | } |
1029 | 1051 | }, |
| 1052 | + { |
| 1053 | + "long": "display-order", |
| 1054 | + "desc": "Set the order should be used when printing displays", |
| 1055 | + "arg": { |
| 1056 | + "type": "enum", |
| 1057 | + "enum": { |
| 1058 | + "none": "Use the detected order", |
| 1059 | + "asc": "Sort by display name ascendingly", |
| 1060 | + "desc": "Sort by display name descendingly" |
| 1061 | + }, |
| 1062 | + "default": "none" |
| 1063 | + } |
| 1064 | + }, |
1030 | 1065 | { |
1031 | 1066 | "long": "brightness-ddcci-sleep", |
1032 | 1067 | "desc": "Set the sleep times (in ms) when sending DDC/CI requests", |
|
1052 | 1087 | { |
1053 | 1088 | "long": "battery-use-setup-api", |
1054 | 1089 | "desc": "Set if \"SetupAPI\" should be used on Windows to detect battery info", |
1055 | | - "remark": "SetupAPI supports multi batteries, but slower. Windows only", |
| 1090 | + "remark": [ |
| 1091 | + "SetupAPI supports multi batteries, but slower.", |
| 1092 | + "Windows only" |
| 1093 | + ], |
1056 | 1094 | "arg": { |
1057 | 1095 | "type": "bool", |
1058 | 1096 | "optional": true, |
|
1088 | 1126 | { |
1089 | 1127 | "long": "de-slow-version-detection", |
1090 | 1128 | "desc": "Set if DE version should be detected with slow operations", |
1091 | | - "remark": "Usually is not necessary. Linux only", |
| 1129 | + "remark": [ |
| 1130 | + "It's only used as a fallback method. Please file a bug report if you encounter any issues.", |
| 1131 | + "Linux only" |
| 1132 | + ], |
1092 | 1133 | "arg": { |
1093 | 1134 | "type": "bool", |
1094 | 1135 | "optional": true, |
|
1107 | 1148 | { |
1108 | 1149 | "long": "gpu-driver-specific", |
1109 | 1150 | "desc": "Use driver specific method to detect more detailed GPU information (memory usage, core count, etc)", |
1110 | | - "remark": "Correctly NVML (NVIDIA) and IGCL (Intel, Windows only) are supported. Both require the latest proprietary driver to be installed", |
| 1151 | + "remark": [ |
| 1152 | + "Correctly NVML (NVIDIA) and IGCL (Intel, Windows only) are supported.", |
| 1153 | + "Both require the latest proprietary driver to be installed." |
| 1154 | + ], |
1111 | 1155 | "arg": { |
1112 | 1156 | "type": "bool", |
1113 | 1157 | "optional": true, |
|
1225 | 1269 | "default": true |
1226 | 1270 | } |
1227 | 1271 | }, |
| 1272 | + { |
| 1273 | + "long": "netio-detect-total", |
| 1274 | + "desc": "Detect total bytes instead of current rate", |
| 1275 | + "arg": { |
| 1276 | + "type": "bool", |
| 1277 | + "default": false |
| 1278 | + } |
| 1279 | + }, |
1228 | 1280 | { |
1229 | 1281 | "long": "publicip-timeout", |
1230 | 1282 | "desc": "Time in milliseconds to wait for the public ip server to respond", |
|
1342 | 1394 | "type": "num", |
1343 | 1395 | "default": 0 |
1344 | 1396 | } |
| 1397 | + }, |
| 1398 | + { |
| 1399 | + "long": "colors-block-width", |
| 1400 | + "desc": "Set the block width in spaces", |
| 1401 | + "arg": { |
| 1402 | + "type": "num", |
| 1403 | + "default": 3 |
| 1404 | + } |
| 1405 | + }, |
| 1406 | + { |
| 1407 | + "long": "colors-block-range-start", |
| 1408 | + "desc": "Set the start range of colors in the blocks to print", |
| 1409 | + "remark": [ |
| 1410 | + "Display colors 0-15 in the blocks. (16 colors)", |
| 1411 | + "Display colors 0-7 in the blocks. (8 colors)", |
| 1412 | + "Only works for `--colors-symbol block`.", |
| 1413 | + "Must be in range 0-15", |
| 1414 | + "See also `--colors-range-end`" |
| 1415 | + ], |
| 1416 | + "arg": { |
| 1417 | + "type": "num", |
| 1418 | + "default": 0 |
| 1419 | + } |
| 1420 | + }, |
| 1421 | + { |
| 1422 | + "long": "colors-block-range-end", |
| 1423 | + "desc": "Set the end range of colors in the blocks to print", |
| 1424 | + "remark": [ |
| 1425 | + "Display colors 0-15 in the blocks. (16 colors)", |
| 1426 | + "Display colors 0-7 in the blocks. (8 colors)", |
| 1427 | + "Only works for `--colors-symbol block`.", |
| 1428 | + "Must be in range 0-15", |
| 1429 | + "See also `--colors-range-start`" |
| 1430 | + ], |
| 1431 | + "arg": { |
| 1432 | + "type": "num", |
| 1433 | + "default": 15 |
| 1434 | + } |
1345 | 1435 | } |
1346 | 1436 | ], |
1347 | 1437 | "General module": [ |
|
0 commit comments