From 6c492882a3172479927f92e053c73a67a60cd5aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Mon, 20 Nov 2023 14:27:03 +0800 Subject: [PATCH] Doc: fix some bugs --- doc/json_schema.json | 4 ++-- src/data/help.txt | 1 - src/data/help_config.txt | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/json_schema.json b/doc/json_schema.json index 2e65be88c..db16fe5d3 100644 --- a/doc/json_schema.json +++ b/doc/json_schema.json @@ -1033,7 +1033,7 @@ "preciseRefreshRate": { "description": "Set if decimal refresh rates should not be rounded into integers when printing", "type": "boolean", - "default": true + "default": false }, "key": { "$ref": "#/$defs/key" @@ -1059,7 +1059,7 @@ }, "folders": { "type": "string", - "description": "A colon (semicolon on Windows) separated list of folder paths for the disk output\nDefault: \"/:/home\" (\"C:\\\\;D:\\\\ ...\" on Windows)" + "description": "A colon (semicolon on Windows) separated list of folder paths for the disk output\nDefault: auto detection using mount-points" }, "showExternal": { "type": "boolean", diff --git a/src/data/help.txt b/src/data/help.txt index 3e196f179..b4b6de318 100644 --- a/src/data/help.txt +++ b/src/data/help.txt @@ -140,7 +140,6 @@ Module specific options: --bluetooth-show-disconnected : Set if disconnected bluetooth devices should be printed. Default is false --packages-winget : Set if winget package count should be detected. Default is false --display-compact-type : Set if all displays should be printed in one line. Must be one of "none", "original" and "scaled". Default is none - --display-detect-name : Set if display name should be detected and printed (if supported). Default is false --display-precise-refresh-rate : Set if decimal refresh rates should not be rounded into integers when printing. Default is true --brightness-ddcci-sleep : Set the sleep times (in ms) when sending DDC/CI requests. See for detail. Default is 10 --sound-type : Set what type of sound devices should be printed. Should be either main, active or all. Default is main diff --git a/src/data/help_config.txt b/src/data/help_config.txt index c34c645b9..edaf576dd 100644 --- a/src/data/help_config.txt +++ b/src/data/help_config.txt @@ -5,5 +5,4 @@ If the file is relative it looks in the following order: - relative to the current working directory - relative to ~/.local/share/fastfetch/presets/ - relative to /usr/share/fastfetch/presets/ -Fastfetch provides some default presets. List them with --print-available-presets. -Note that this will only print presets fastfetch knows about and not every possible one. +Fastfetch provides some default presets. List them with "fastfetch --list-presets".