mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 10:22:12 +02:00
Help: small improvements
This commit is contained in:
+4
-4
@@ -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"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
+4
-4
@@ -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 <option>"
|
||||
4. All options can be made permanent with command "fastfetch <options> --gen-config"
|
||||
Parsing is not case sensitive. E.g. "--lib-PCI" is equal to "--Lib-Pci"
|
||||
If a value starts with a ?, it is optional. An optional boolean value defaults to true if not specified.
|
||||
More detailed help messages for each options can be printed with "-h <option_without_dash_prefix>"
|
||||
All options can be made permanent with command "fastfetch <options> --gen-config"
|
||||
|
||||
@@ -133,6 +133,8 @@ static void printFullHelp()
|
||||
putchar('\n');
|
||||
}
|
||||
yyjson_doc_free(doc);
|
||||
|
||||
puts("\n" FASTFETCH_DATATEXT_HELP);
|
||||
}
|
||||
|
||||
static bool printSpecificCommandHelp(const char* command)
|
||||
|
||||
Reference in New Issue
Block a user