mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Help: small fixes
This commit is contained in:
+7
-6
@@ -191,11 +191,12 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"long": "logo-color-<1-9>",
|
||||
"long": "logo-color-[1-9]",
|
||||
"desc": "Overwrite a color in the logo",
|
||||
"arg": {
|
||||
"type": "color"
|
||||
}
|
||||
},
|
||||
"pseudo": true
|
||||
},
|
||||
{
|
||||
"long": "logo-padding",
|
||||
@@ -417,10 +418,10 @@
|
||||
{
|
||||
"long": "pipe",
|
||||
"desc": "Disable logo and all escape sequences",
|
||||
"remark": "Auto detection based on isatty(1)",
|
||||
"arg": {
|
||||
"type": "bool",
|
||||
"optional": true,
|
||||
"default": "Auto detection based on isatty(1)"
|
||||
"optional": true
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1187,7 +1188,7 @@
|
||||
"remark": "0 to disable timeout",
|
||||
"arg": {
|
||||
"type": "num",
|
||||
"default": "0"
|
||||
"default": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1211,7 +1212,7 @@
|
||||
"remark": "0 to disable timeout",
|
||||
"arg": {
|
||||
"type": "num",
|
||||
"default": "0"
|
||||
"default": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
+1
-1
@@ -199,7 +199,7 @@ static bool printSpecificCommandHelp(const char* command)
|
||||
else if (yyjson_is_bool(defaultKey))
|
||||
printf("%10s: %s\n", "Default", yyjson_get_bool(defaultKey) ? "true" : "false");
|
||||
else if (yyjson_is_num(defaultKey))
|
||||
printf("%10s: %g\n", "Default", yyjson_get_num(defaultKey));
|
||||
printf("%10s: %d\n", "Default", yyjson_get_int(defaultKey));
|
||||
else if (yyjson_is_str(defaultKey))
|
||||
printf("%10s: %s\n", "Default", yyjson_get_str(defaultKey));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user