fastfetch: --help honors --pipe

This commit is contained in:
李通洲
2023-11-02 14:44:18 +08:00
parent d59de1f158
commit 2075761282
+1 -1
View File
@@ -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);