From cdcc976cd313ad7482e0fb41b735ee926b543c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Wed, 22 Nov 2023 09:32:38 +0800 Subject: [PATCH] Help: small improvements --- src/data/help.json | 8 ++++---- src/data/help.txt | 8 ++++---- src/fastfetch.c | 2 ++ 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/data/help.json b/src/data/help.json index 48e197cf8..5fa4dad15 100644 --- a/src/data/help.json +++ b/src/data/help.json @@ -58,7 +58,7 @@ "short": "c", "long": "config", "desc": "Specify the config file or preset to be loaded", - "remark": "The file will be searched in the order of \"fastfetch --list-config-paths\". If \"none\", disable further config loading. Refer to https://github.com/fastfetch-cli/fastfetch/wiki/Configuration for more info", + "remark": "The file will be searched in the order of \"fastfetch --list-config-paths\". If \"none\", disable further config loading. See also https://github.com/fastfetch-cli/fastfetch/wiki/Configuration for more info", "arg": { "type": "config" } @@ -135,7 +135,7 @@ "short": "l", "long": "logo", "desc": "Set the logo source", - "remark": "Should be the name of a builtin logo, or a path to an image file", + "remark": "Should be the name of a builtin logo, or a path to an image file. See also https://github.com/fastfetch-cli/fastfetch/wiki/Logo-options", "arg": { "type": "logo" } @@ -143,6 +143,7 @@ { "long": "logo-type", "desc": "Set the type of the logo given in \"--logo\"", + "remark": "See also https://github.com/fastfetch-cli/fastfetch/wiki/Logo-options", "arg": { "type": "enum", "enum": { @@ -929,8 +930,7 @@ "long": "diskio-name-prefix", "desc": "Show disks with given name prefix only", "arg": { - "type": "str", - "default": "" + "type": "str" } }, { diff --git a/src/data/help.txt b/src/data/help.txt index dd6d34c0e..0d478fb1d 100644 --- a/src/data/help.txt +++ b/src/data/help.txt @@ -1,4 +1,4 @@ -1. Parsing is not case sensitive. E.g. "--lib-PCI" is equal to "--Lib-Pci" -2. If a value starts with a ?, it is optional. An optional boolean value defaults to true if not specified. -3. More help can be printed with "-h