summaryrefslogtreecommitdiffstats
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index ca8a00f..c7092fe 100644
--- a/parse.c
+++ b/parse.c
@@ -2279,7 +2279,7 @@ struct cmdline *parse_cmdline(int argc, char *argv[]) {
.command = argv[0],
.roots_tail = &cmdline->roots,
.implicit_print = true,
- .warn = true,
+ .warn = isatty(STDIN_FILENO),
.non_option_seen = false,
.just_info = false,
};