mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 09:33:39 +01:00
Global: rename --disable-stdout-buffer to --unbuffered
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
# Sets if fastfetch should disable application buffer of stdout. Mainly for debugging purpose.
|
||||
# Must be true or false.
|
||||
# Default is false.
|
||||
#--disable-stdout-buffer false
|
||||
#--unbuffered false
|
||||
|
||||
# Slow operations option:
|
||||
# Sets if fastfetch is allowed to use known slow operations to detect more / better values.
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ General options:
|
||||
--load-config <file>: load a config file or a preset (+)
|
||||
--multithreading <?value>: use multiple threads to detect values
|
||||
--allow-slow-operations <?value>: allow operations that are usually very slow for more detailed output
|
||||
--disable-stdout-buffer <?value>: disable stdout application buffer
|
||||
--unbuffered <?value>: disable stdout application buffer
|
||||
--escape-bedrock <?value>: on bedrock linux, sets if it should escape the bedrock jail or not
|
||||
--pipe <?value>: disable logo and all escape sequences
|
||||
|
||||
|
||||
+1
-1
@@ -909,7 +909,7 @@ static void parseOption(FFinstance* instance, FFdata* data, const char* key, con
|
||||
instance->config.multithreading = optionParseBoolean(value);
|
||||
else if(strcasecmp(key, "--allow-slow-operations") == 0)
|
||||
instance->config.allowSlowOperations = optionParseBoolean(value);
|
||||
else if(strcasecmp(key, "--disable-stdout-buffer") == 0)
|
||||
else if(strcasecmp(key, "--unbuffered") == 0)
|
||||
{
|
||||
if(optionParseBoolean(value))
|
||||
setvbuf(stdout, NULL, _IONBF, 0);
|
||||
|
||||
Reference in New Issue
Block a user