Skip to content

Commit 2075761

Browse files
committed
fastfetch: --help honors --pipe
1 parent d59de1f commit 2075761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fastfetch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static void printCommandHelp(const char* command)
4545
if(command == NULL)
4646
{
4747
static char input[] = FASTFETCH_DATATEXT_HELP;
48-
if (isatty(STDOUT_FILENO))
48+
if (!instance.config.display.pipe)
4949
{
5050
char* token = strtok(input, "\n");
5151
puts(token);

0 commit comments

Comments
 (0)