Fastfetch: refactor command line option parsing code

1. improve performance
2. remove `-c`
3. rename `--recache` to `--logo-recache`, and remove `-r`
This commit is contained in:
李通洲
2023-08-17 16:00:24 +08:00
parent c888254f70
commit e5e4c8bf88
13 changed files with 419 additions and 262 deletions
+5
View File
@@ -161,6 +161,11 @@
"title": "Whether to preserve the aspect ratio of the logo. Supported by iTerm image protocol",
"default": false
},
"recache": {
"type": "boolean",
"title": "If true, regenerate image logo cache",
"default": false
},
"chafa": {
"type": "object",
"title": "Chafa configuration. See chafa document for details",