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:
李通洲 committed 2023-08-17 16:10:05 +08:00
1 parent c888254f70
commit e5e4c8bf88
13 files changed
+419 -262

No files matched your search

-1
View File
@@ -48,7 +48,6 @@ static void defaultConfig(void)
#endif
instance.config.showErrors = false;
instance.config.recache = false;
instance.config.allowSlowOperations = false;
instance.config.pipe = !isatty(STDOUT_FILENO);