ohmu
·
2026-10-15
1{
2 "Informative": [
3 {
4 "short": "h",
5 "long": "help",
6 "desc": "Show this help message or help for a specific command",
7 "arg": {
8 "type": "command",
9 "optional": true
10 }
11 },
12 {
13 "short": "v",
14 "long": "version",
15 "desc": "Show the full Fastfetch version"
16 },
17 {
18 "long": "version-raw",
19 "desc": "Show the raw version string (major.minor.patch)"
20 },
21 {
22 "long": "list-config-paths",
23 "desc": "List search paths for config files"
24 },
25 {
26 "long": "list-data-paths",
27 "desc": "List search paths for presets and logos"
28 },
29 {
30 "long": "list-logos",
31 "desc": "List available logos"
32 },
33 {
34 "long": "list-modules",
35 "desc": "List available modules"
36 },
37 {
38 "long": "list-presets",
39 "desc": "List available presets",
40 "remark": "Presets can be loaded with \"--config <preset-name>\""
41 },
42 {
43 "long": "list-features",
44 "desc": "List the supported features that fastfetch was compiled with",
45 "remark": "Mainly for development"
46 },
47 {
48 "long": "print-logos",
49 "desc": "Show available logos"
50 },
51 {
52 "long": "print-structure",
53 "desc": "Show the default structure"
54 },
55 {
56 "long": "format",
57 "desc": "Set the output format",
58 "arg": {
59 "type": "enum",
60 "enum": {
61 "default": "Default format",
62 "json": "JSON format"
63 },
64 "default": "default"
65 }
66 },
67 {
68 "long": "json",
69 "short": "j",
70 "arg": {
71 "type": "bool",
72 "default": false,
73 "optional": true
74 },
75 "desc": "Enable or disable JSON output",
76 "remark": "Shortcut for `--format json`"
77 },
78 {
79 "long": "dynamic-interval",
80 "desc": "Keep Fastfetch running and refresh the output every <num> milliseconds",
81 "remark": "Set to 0 (default) to disable this behavior; does not work with --json",
82 "arg": {
83 "type": "num",
84 "default": 0
85 }
86 },
87 {
88 "long": "watch",
89 "short": "w",
90 "desc": "Alias of dynamic-interval, but the value is in seconds instead of milliseconds. If no value is provided, it defaults to 1 second",
91 "arg": {
92 "type": "num",
93 "optional": true,
94 "default": 1
95 }
96 }
97 ],
98 "Config": [
99 {
100 "short": "c",
101 "long": "config",
102 "desc": "Specify the config file or preset to load",
103 "remark": "The file is searched in the order shown by \"fastfetch --list-config-paths\". Use \"-\" to read config from stdin, or \"none\" to disable further config loading. See also https://github.com/fastfetch-cli/fastfetch/wiki/Configuration for details",
104 "arg": {
105 "type": "config"
106 }
107 },
108 {
109 "long": "gen-config",
110 "desc": "Interactively generate a config file at the specified path",
111 "remark": "Opens an interactive configuration UI when run in a terminal. Falls back to non-interactive generation when env-var `$NO_COLOR` is set or stdin/stdout is not a TTY. Defaults to \"~/.config/fastfetch/config.jsonc\". Prints the generated config if <path> is \"-\"",
112 "arg": {
113 "type": "path",
114 "optional": true
115 }
116 }
117 ],
118 "General": [
119 {
120 "long": "thread",
121 "desc": "Use separate threads for HTTP requests",
122 "arg": {
123 "type": "bool",
124 "optional": true,
125 "default": true
126 }
127 },
128 {
129 "long": "wmi-timeout",
130 "desc": "Set the timeout (ms) for WMI queries",
131 "remark": "Windows only",
132 "arg": {
133 "type": "num",
134 "default": 5000
135 }
136 },
137 {
138 "long": "processing-timeout",
139 "desc": "Set the timeout (ms) when waiting for child processes",
140 "arg": {
141 "type": "num",
142 "default": 5000
143 }
144 },
145 {
146 "long": "ds-force-drm",
147 "desc": "Specify whether display detection should use DRM only",
148 "remark": [
149 "Use this option if you encounter problems with other detection methods.",
150 "Linux only"
151 ],
152 "arg": {
153 "type": "enum",
154 "optional": true,
155 "default": "false",
156 "enum": {
157 "true": "Try `libdrm` first, then `sysfs` if libdrm fails",
158 "sysfs-only": "Use `/sys/class/drm` only",
159 "false": "Try `wayland`, then `x11`, then `drm`"
160 }
161 }
162 },
163 {
164 "long": "detect-version",
165 "desc": "Specify whether to detect and display versions for terminal, shell, editor, and others",
166 "remark": "Mainly for benchmarking",
167 "arg": {
168 "type": "bool",
169 "optional": true,
170 "default": true
171 }
172 }
173 ],
174 "Logo": [
175 {
176 "short": "l",
177 "long": "logo",
178 "desc": "Set the logo source. Use \"none\" to disable logo output",
179 "remark": "Use either a built-in logo name or a path to an image file. See also https://github.com/fastfetch-cli/fastfetch/wiki/Logo-options",
180 "arg": {
181 "type": "logo"
182 }
183 },
184 {
185 "long": "logo-type",
186 "desc": "Set the type of logo specified by \"--logo\"",
187 "remark": "See also https://github.com/fastfetch-cli/fastfetch/wiki/Logo-options",
188 "arg": {
189 "type": "enum",
190 "enum": {
191 "auto": "If a value is provided, try built-in first, then file. Otherwise auto-detect the logo",
192 "builtin": "Built-in ASCII art",
193 "small": "Built-in ASCII art, small version",
194 "file": "Text file, printed with color code replacement",
195 "file-raw": "Text file, printed as is",
196 "data": "Text data, printed with color code replacement",
197 "data-raw": "Text data, printed as is",
198 "command-raw": "Command to run, whose output is printed as is",
199 "sixel": "Image file, rendered as sixel",
200 "kitty": "Image file, rendered using the Kitty graphics protocol",
201 "kitty-direct": "Image file, tells the terminal emulator to read image data from the specified file",
202 "kitty-icat": "Image file, displayed using `kitten icat`. Requires the `kitten` binary",
203 "iterm": "Image file, rendered using the iTerm graphics protocol",
204 "chafa": "Image file, printed as ASCII art using libchafa",
205 "raw": "Image file, printed as raw binary string",
206 "none": "Disable logo printing"
207 }
208 }
209 },
210 {
211 "long": "logo-width",
212 "desc": "Set the width of the logo (in characters) if it is an image",
213 "remark": "Required for iTerm image protocol",
214 "arg": {
215 "type": "num"
216 }
217 },
218 {
219 "long": "logo-height",
220 "desc": "Set the height of the logo (in characters) if it is an image",
221 "remark": "Required for iTerm image protocol",
222 "arg": {
223 "type": "num"
224 }
225 },
226 {
227 "long": "logo-preserve-aspect-ratio",
228 "desc": "Specify whether the logo should fill the specified width and height as much as possible without stretching",
229 "remark": "Supported by iTerm image protocol only",
230 "arg": {
231 "type": "bool",
232 "optional": true,
233 "default": false
234 }
235 },
236 {
237 "long": "logo-color-[1-9]",
238 "desc": "Override a color in the logo",
239 "remark": "See `-h color` for the list of available colors",
240 "arg": {
241 "type": "color"
242 },
243 "pseudo": true
244 },
245 {
246 "long": "logo-padding",
247 "desc": "Set the padding on the left and right sides of the logo",
248 "arg": {
249 "type": "num"
250 }
251 },
252 {
253 "long": "logo-padding-left",
254 "desc": "Set the padding on the left side of the logo",
255 "arg": {
256 "type": "num"
257 }
258 },
259 {
260 "long": "logo-padding-right",
261 "desc": "Set the padding on the right side of the logo",
262 "arg": {
263 "type": "num"
264 }
265 },
266 {
267 "long": "logo-padding-top",
268 "desc": "Set the padding at the top of the logo",
269 "arg": {
270 "type": "num"
271 }
272 },
273 {
274 "long": "logo-padding-bottom",
275 "desc": "Set the padding at the bottom of the logo",
276 "remark": "Only used with \"--logo-position top\"",
277 "arg": {
278 "type": "num"
279 }
280 },
281 {
282 "long": "logo-print-remaining",
283 "desc": "Specify whether to print remaining logo lines when the logo is taller than the module list",
284 "arg": {
285 "type": "bool",
286 "optional": true,
287 "default": true
288 }
289 },
290 {
291 "long": "logo-position",
292 "desc": "Set the display position of the logo",
293 "arg": {
294 "type": "enum",
295 "enum": {
296 "auto": "Automatically choose left or top based on terminal width",
297 "left": "Left",
298 "top": "Top",
299 "right": "Right"
300 }
301 }
302 },
303 {
304 "long": "logo-cache",
305 "desc": "Specify how the image logo cache is used",
306 "remark": "See \"--help logo-animation-frame\" for the one case where a cached rendering can outlive the image type that produced it",
307 "arg": {
308 "type": "enum",
309 "optional": true,
310 "default": "true",
311 "enum": {
312 "true": "Reuse a cached rendering when it is valid, and write it back on a cache miss",
313 "false": "Ignore the image logo cache completely: neither read nor write it",
314 "regen": "Ignore any existing cached rendering and regenerate it"
315 }
316 }
317 },
318 {
319 "long": "logo-animation-frame",
320 "desc": "Select which frame of an animated image logo to render",
321 "remark": [
322 "Animated kitty graphics only, and only if the image source is animated; 1 or higher renders that frame as a still image, 0 plays the animation",
323 "A selected frame is cached exactly like the first frame is, sharing its entries; the frame number is recorded next to them, so changing this option re-renders",
324 "That record is per cache directory, not per image type: switching --logo-type between two types that both have a cached rendering here, and asking for a different frame, can pair one type's rendering with the other's frame number",
325 "Run \"--logo-cache regen\" after such a switch"
326 ],
327 "arg": {
328 "type": "num",
329 "optional": true,
330 "default": 1
331 }
332 },
333 {
334 "long": "file",
335 "desc": "Short for --logo-type file --logo <path>",
336 "remark": "See \"--help logo-type\" for more info",
337 "arg": {
338 "type": "path"
339 }
340 },
341 {
342 "long": "file-raw",
343 "desc": "Short for --logo-type file-raw --logo <path>",
344 "remark": "See \"--help logo-type\" for more info",
345 "arg": {
346 "type": "path"
347 }
348 },
349 {
350 "long": "data",
351 "desc": "Short for --logo-type data --logo <data>",
352 "remark": "See \"--help logo-type\" for more info",
353 "arg": {
354 "type": "data"
355 }
356 },
357 {
358 "long": "data-raw",
359 "desc": "Short for --logo-type data-raw --logo <data>",
360 "remark": "See \"--help logo-type\" for more info",
361 "arg": {
362 "type": "data"
363 }
364 },
365 {
366 "long": "raw",
367 "desc": "Short for --logo-type raw --logo <path>",
368 "remark": "See \"--help logo-type\" for more info",
369 "arg": {
370 "type": "path"
371 }
372 },
373 {
374 "long": "sixel",
375 "desc": "Short for --logo-type sixel --logo <path>",
376 "remark": "See \"--help logo-type\" for more info",
377 "arg": {
378 "type": "path"
379 }
380 },
381 {
382 "long": "kitty",
383 "desc": "Short for --logo-type kitty --logo <path>",
384 "remark": "See \"--help logo-type\" for more info",
385 "arg": {
386 "type": "path"
387 }
388 },
389 {
390 "long": "kitty-direct",
391 "desc": "Short for --logo-type kitty-direct --logo <path>",
392 "remark": "See \"--help logo-type\" for more info",
393 "arg": {
394 "type": "path"
395 }
396 },
397 {
398 "long": "kitty-icat",
399 "desc": "Short for --logo-type kitty-icat --logo <path>",
400 "remark": "See \"--help logo-type\" for more info",
401 "arg": {
402 "type": "path"
403 }
404 },
405 {
406 "long": "iterm",
407 "desc": "Short for --logo-type iterm --logo <path>",
408 "remark": "See \"--help logo-type\" for more info",
409 "arg": {
410 "type": "path"
411 }
412 },
413 {
414 "long": "chafa",
415 "desc": "Short for --logo-type chafa --logo <path>",
416 "remark": "See \"--help logo-type\" for more info",
417 "arg": {
418 "type": "path"
419 }
420 },
421 {
422 "long": "chafa-fg-only",
423 "desc": "Produce character-cell output using foreground colors only",
424 "remark": "See the Chafa documentation for details",
425 "arg": {
426 "type": "bool",
427 "optional": true,
428 "default": false
429 }
430 },
431 {
432 "long": "chafa-symbols",
433 "desc": "Specify character symbols to employ in final output",
434 "remark": "See the Chafa documentation for details",
435 "arg": {
436 "type": "str"
437 }
438 },
439 {
440 "long": "chafa-canvas-mode",
441 "desc": "Determine how colors are used in the output",
442 "remark": "This value maps to the integer value of enum ChafaCanvasMode. See the Chafa documentation for details",
443 "arg": {
444 "type": "enum",
445 "enum": {
446 "TRUECOLOR": "Truecolor",
447 "INDEXED_256": "256 colors",
448 "INDEXED_240": "256 colors, but avoid using the lower 16 whose values vary between terminal environments",
449 "INDEXED_16": "16 colors using the aixterm ANSI extension",
450 "FGBG_BGFG": "Default foreground and background colors, plus inversion",
451 "FGBG": "Default foreground and background colors. No ANSI codes will be used",
452 "INDEXED_8": "8 colors, compatible with original ANSI X3.64",
453 "INDEXED_16_8": "16 FG colors (8 of which enabled with bold/bright) and 8 BG colors"
454 }
455 }
456 },
457 {
458 "long": "chafa-color-space",
459 "desc": "Set the color space used for quantization",
460 "remark": "This value maps to the integer value of enum ChafaColorSpace. See the Chafa documentation for details",
461 "arg": {
462 "type": "enum",
463 "enum": {
464 "RGB": "RGB color space. Fast but imprecise",
465 "DIN99D": "DIN99d color space. Slower, but good perceptual color precision"
466 }
467 }
468 },
469 {
470 "long": "chafa-dither-mode",
471 "desc": "Set the output dithering mode (no effect with 24-bit color)",
472 "remark": "This value maps to the integer value of enum ChafaDitherMode. See the Chafa documentation for details",
473 "arg": {
474 "type": "enum",
475 "enum": {
476 "NONE": "No dithering",
477 "ORDERED": "Ordered dithering (Bayer or similar)",
478 "DIFFUSION": "Error diffusion dithering (Floyd-Steinberg or similar)"
479 }
480 }
481 }
482 ],
483 "Display": [
484 {
485 "short": "s",
486 "long": "structure",
487 "desc": "Set the structure of the fetch",
488 "remark": "Must be a colon-separated list of module keys. Use \"fastfetch --list-modules\" to see available options",
489 "arg": {
490 "type": "structure",
491 "default": "\"fastfetch --print-structure\""
492 }
493 },
494 {
495 "long": "structure-disabled",
496 "desc": "Disable specific modules in the structure",
497 "remark": "Must be a colon-separated list of keys",
498 "arg": {
499 "type": "structure"
500 }
501 },
502 {
503 "long": "stat",
504 "desc": "Show execution time (ms) for individual modules",
505 "arg": {
506 "type": "bool",
507 "optional": true,
508 "default": false
509 }
510 },
511 {
512 "long": "pipe",
513 "desc": "Disable colors",
514 "remark": "Auto-detected based on isatty(1) by default",
515 "arg": {
516 "type": "bool",
517 "optional": true,
518 "default": false
519 }
520 },
521 {
522 "long": "color",
523 "desc": "Set the color of both keys and title",
524 "remark": [
525 "Shortcut for \"--color-keys <color>\" and \"--color-title <color>\"",
526 "For color syntax, see <https://github.com/fastfetch-cli/fastfetch/wiki/Color-Format-Specification>"
527 ],
528 "arg": {
529 "type": "color"
530 }
531 },
532 {
533 "long": "color-keys",
534 "desc": "Set the color of the keys",
535 "remark": "Doesn't affect Title, Separator, and Colors modules. See `-h color` for the list of available colors",
536 "arg": {
537 "type": "color"
538 }
539 },
540 {
541 "long": "color-title",
542 "desc": "Set the color of the title",
543 "remark": "See `-h color` for the list of available colors",
544 "arg": {
545 "type": "color"
546 }
547 },
548 {
549 "long": "color-output",
550 "desc": "Set the color of module output",
551 "remark": "See `-h color` for the list of available colors",
552 "arg": {
553 "type": "color"
554 }
555 },
556 {
557 "long": "color-separator",
558 "desc": "Set the color of the key-value separator",
559 "remark": "See `-h color` for the list of available colors",
560 "arg": {
561 "type": "color"
562 }
563 },
564 {
565 "long": "duration-abbreviation",
566 "desc": "Specify whether to abbreviate duration values",
567 "remark": "If true, output is shown as \"1h 2m\" instead of \"1 hour, 2 mins\"",
568 "arg": {
569 "type": "bool",
570 "optional": true,
571 "default": false
572 }
573 },
574 {
575 "long": "duration-space-before-unit",
576 "desc": "Specify whether to put a space before the unit in duration values",
577 "arg": {
578 "type": "enum",
579 "enum": {
580 "default": "Use the default behavior of the module",
581 "always": "Always put a space before the unit",
582 "never": "Never put a space before the unit"
583 }
584 }
585 },
586 {
587 "long": "key-width",
588 "desc": "Align the width of keys to <num> characters",
589 "arg": {
590 "type": "num"
591 }
592 },
593 {
594 "long": "key-padding-left",
595 "desc": "Set the left padding of keys to <num> characters",
596 "arg": {
597 "type": "num"
598 }
599 },
600 {
601 "long": "key-type",
602 "desc": "Specify whether to show an icon before string keys",
603 "arg": {
604 "type": "enum",
605 "enum": {
606 "none": "Disable keys",
607 "string": "Show string",
608 "icon": "Show icon (requires a recent Nerd Font)",
609 "both": "Show both icon and string (alias of `both-1`)",
610 "both-0": "Show both icon and string with no spaces between them",
611 "both-1": "Show both icon and string with a space between them",
612 "both-2": "Show both icon and string with 2 spaces between them",
613 "both-3": "Show both icon and string with 3 spaces between them",
614 "both-4": "Show both icon and string with 4 spaces between them"
615 },
616 "default": "string"
617 }
618 },
619 {
620 "long": "key-language",
621 "desc": "Specify the language used for module keys",
622 "remark": "Leave empty for auto-detection based on the system locale. Unsupported locales fall back to English",
623 "arg": {
624 "type": "enum",
625 "default": "en",
626 "optional": true,
627 "enum": {
628 "en": "English",
629 "ar": "Arabic",
630 "cs": "Czech",
631 "de": "German",
632 "es": "Spanish",
633 "fi": "Finnish",
634 "fr": "French",
635 "gl": "Galician",
636 "he": "Hebrew",
637 "id": "Indonesian",
638 "it": "Italian",
639 "ja": "Japanese",
640 "ko": "Korean",
641 "pl": "Polish",
642 "pt": "Portuguese",
643 "ru": "Russian",
644 "tr": "Turkish",
645 "uk": "Ukrainian",
646 "vi": "Vietnamese",
647 "zh_CN": "Simplified Chinese",
648 "zh_TW": "Traditional Chinese"
649 }
650 }
651 },
652 {
653 "long": "bright-color",
654 "desc": "Specify whether keys, title, and ASCII logo should be printed in bright color",
655 "arg": {
656 "type": "bool",
657 "optional": true,
658 "default": true
659 }
660 },
661 {
662 "long": "separator",
663 "desc": "Set the separator between key and value",
664 "arg": {
665 "type": "str",
666 "default": ": "
667 }
668 },
669 {
670 "long": "show-errors",
671 "desc": "Print errors when they occur",
672 "arg": {
673 "type": "bool",
674 "optional": true,
675 "default": false
676 }
677 },
678 {
679 "long": "disable-linewrap",
680 "desc": "Specify whether to disable line wrap during execution",
681 "arg": {
682 "type": "bool",
683 "optional": true,
684 "default": true
685 }
686 },
687 {
688 "long": "hide-cursor",
689 "desc": "Specify whether to hide the cursor during execution",
690 "arg": {
691 "type": "bool",
692 "optional": true,
693 "default": false
694 }
695 },
696 {
697 "long": "percent-type",
698 "desc": "Set the percentage output style",
699 "remark": [
700 "1 for percentage number",
701 "2 for multi-color bar",
702 "3 for both",
703 "6 for bar only",
704 "9 for colored number",
705 "10 for monochrome bar"
706 ],
707 "arg": {
708 "type": "num",
709 "default": 9
710 }
711 },
712 {
713 "long": "percent-ndigits",
714 "desc": "Set the number of decimal places to use when formatting percentages",
715 "arg": {
716 "type": "num",
717 "default": 0
718 }
719 },
720 {
721 "long": "percent-color-green",
722 "desc": "Set color used for the green state of percentage bars and numbers",
723 "remark": "See `-h color` for the list of available colors",
724 "arg": {
725 "type": "color",
726 "default": "green"
727 }
728 },
729 {
730 "long": "percent-color-yellow",
731 "desc": "Set color used for the yellow state of percentage bars and numbers",
732 "remark": "See `-h color` for the list of available colors",
733 "arg": {
734 "type": "color",
735 "default": "light_yellow"
736 }
737 },
738 {
739 "long": "percent-color-red",
740 "desc": "Set color used for the red state of percentage bars and numbers",
741 "remark": "See `-h color` for the list of available colors",
742 "arg": {
743 "type": "color",
744 "default": "light_red"
745 }
746 },
747 {
748 "long": "percent-space-before-unit",
749 "desc": "Specify whether to put a space before the percentage symbol",
750 "arg": {
751 "type": "enum",
752 "enum": {
753 "default": "Use the default behavior of the module",
754 "always": "Always put a space before the unit",
755 "never": "Never put a space before the unit"
756 }
757 }
758 },
759 {
760 "long": "percent-width",
761 "desc": "Specify the width of the percentage number, in characters",
762 "remark": "This option affects only percentage numbers, not bars",
763 "arg": {
764 "type": "num",
765 "default": 0
766 }
767 },
768 {
769 "long": "bar-char-elapsed",
770 "desc": "Set the character used for the elapsed part of percentage bars",
771 "arg": {
772 "type": "str",
773 "default": "\u25a0"
774 }
775 },
776 {
777 "long": "bar-char-total",
778 "desc": "Set the character used for the total part of percentage bars",
779 "arg": {
780 "type": "str",
781 "default": "-"
782 }
783 },
784 {
785 "long": "bar-border-left",
786 "desc": "Set the string to use at the left border of percentage bars",
787 "arg": {
788 "type": "string",
789 "default": "[ "
790 }
791 },
792 {
793 "long": "bar-border-right",
794 "desc": "Set the string to use at the right border of percentage bars",
795 "arg": {
796 "type": "string",
797 "default": " ]"
798 }
799 },
800 {
801 "long": "bar-border-left-elapsed",
802 "desc": "If both bar-border-left-elapsed and bar-border-right-elapsed are set, the border is used as part of the bar content",
803 "arg": {
804 "type": "string",
805 "default": ""
806 }
807 },
808 {
809 "long": "bar-border-right-elapsed",
810 "desc": "If both bar-border-left-elapsed and bar-border-right-elapsed are set, the border is used as part of the bar content",
811 "arg": {
812 "type": "string",
813 "default": ""
814 }
815 },
816 {
817 "long": "bar-color-elapsed",
818 "desc": "Set the color used for the elapsed part of percentage bars",
819 "remark": "By default, this is auto-selected by percent-color-{green,yellow,red}",
820 "arg": {
821 "type": "color",
822 "default": "<auto>"
823 }
824 },
825 {
826 "long": "bar-color-total",
827 "desc": "Set the color used for the total part of percentage bars",
828 "arg": {
829 "type": "color",
830 "default": "light_white"
831 }
832 },
833 {
834 "long": "bar-color-border",
835 "desc": "Set the color used for percentage bar borders",
836 "arg": {
837 "type": "color",
838 "default": "light_white"
839 }
840 },
841 {
842 "long": "bar-width",
843 "desc": "Set the width of percentage bars in characters",
844 "arg": {
845 "type": "num",
846 "default": 10
847 }
848 },
849 {
850 "long": "no-buffer",
851 "desc": "Specify whether stdout buffering should be disabled",
852 "arg": {
853 "type": "bool",
854 "optional": true,
855 "default": false
856 }
857 },
858 {
859 "long": "size-ndigits",
860 "desc": "Set the number of decimal places to use when formatting sizes",
861 "arg": {
862 "type": "num"
863 }
864 },
865 {
866 "long": "size-binary-prefix",
867 "desc": "Set the binary prefix to use when formatting sizes",
868 "arg": {
869 "type": "enum",
870 "enum": {
871 "IEC": "1024 Bytes = 1 KiB, 1024 KiB = 1 MiB, ...",
872 "SI": "1000 Bytes = 1 kB, 1000 kB = 1 MB, ...",
873 "JEDEC": "1024 Bytes = 1 KB, 1024 KB = 1 MB, ..."
874 },
875 "default": "IEC"
876 }
877 },
878 {
879 "long": "size-max-prefix",
880 "desc": "Set the largest binary prefix to use when formatting sizes",
881 "arg": {
882 "type": "enum",
883 "enum": {
884 "B": "Bytes",
885 "kB": "KiB",
886 "MB": "MiB",
887 "GB": "GiB",
888 "TB": "TiB",
889 "PB": "PiB",
890 "EB": "EiB",
891 "ZB": "ZiB",
892 "YB": "YiB"
893 },
894 "default": "YB"
895 }
896 },
897 {
898 "long": "size-space-before-unit",
899 "desc": "Specify whether to put a space before the unit",
900 "arg": {
901 "type": "enum",
902 "enum": {
903 "default": "Use the default behavior of the module",
904 "always": "Always put a space before the unit",
905 "never": "Never put a space before the unit"
906 }
907 }
908 },
909 {
910 "long": "freq-ndigits",
911 "desc": "Set the number of decimal places to use when printing CPU/GPU frequency in GHz",
912 "arg": {
913 "type": "num",
914 "default": 2
915 }
916 },
917 {
918 "long": "freq-space-before-unit",
919 "desc": "Specify whether to put a space before the unit",
920 "arg": {
921 "type": "enum",
922 "enum": {
923 "default": "Use the default behavior of the module",
924 "always": "Always put a space before the unit",
925 "never": "Never put a space before the unit"
926 }
927 }
928 },
929 {
930 "long": "fraction-ndigits",
931 "desc": "Set the number of decimal places to use when printing fractional values",
932 "remark": "If negative, the number of digits will be automatically determined based on the value",
933 "arg": {
934 "type": "num",
935 "default": -1
936 }
937 },
938 {
939 "long": "fraction-trailing-zeros",
940 "desc": "Set when to keep trailing zeros",
941 "arg": {
942 "type": "enum",
943 "enum": {
944 "default": "Use the built-in behavior",
945 "always": "Always keep trailing zeros",
946 "never": "Never keep trailing zeros"
947 }
948 }
949 },
950 {
951 "long": "temp-unit",
952 "desc": "Set the temperature unit",
953 "arg": {
954 "type": "enum",
955 "enum": {
956 "D": "Default",
957 "C": "Celsius",
958 "F": "Fahrenheit",
959 "K": "Kelvin"
960 },
961 "default": "D"
962 }
963 },
964 {
965 "long": "temp-ndigits",
966 "desc": "Set the number of decimal places to use when printing temperatures",
967 "arg": {
968 "type": "num",
969 "default": 2
970 }
971 },
972 {
973 "long": "temp-color-green",
974 "desc": "Set color used for the green state of temperature values",
975 "remark": "See `-h color` for the list of available colors",
976 "arg": {
977 "type": "color",
978 "default": "green"
979 }
980 },
981 {
982 "long": "temp-color-yellow",
983 "desc": "Set color used for the yellow state of temperature values",
984 "remark": "See `-h color` for the list of available colors",
985 "arg": {
986 "type": "color",
987 "default": "light_yellow"
988 }
989 },
990 {
991 "long": "temp-color-red",
992 "desc": "Set color used for the red state of temperature values",
993 "remark": "See `-h color` for the list of available colors",
994 "arg": {
995 "type": "color",
996 "default": "light_red"
997 }
998 },
999 {
1000 "long": "temp-space-before-unit",
1001 "desc": "Specify whether to put a space before the unit",
1002 "arg": {
1003 "type": "enum",
1004 "enum": {
1005 "default": "Use the default behavior of the module",
1006 "always": "Always put a space before the unit",
1007 "never": "Never put a space before the unit"
1008 }
1009 }
1010 }
1011 ]
1012}