mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
fastfetch: --help honors --pipe
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ static void printCommandHelp(const char* command)
|
||||
if(command == NULL)
|
||||
{
|
||||
static char input[] = FASTFETCH_DATATEXT_HELP;
|
||||
if (isatty(STDOUT_FILENO))
|
||||
if (!instance.config.display.pipe)
|
||||
{
|
||||
char* token = strtok(input, "\n");
|
||||
puts(token);
|
||||
|
||||
Reference in New Issue
Block a user