From 3bfdc6203577dbc98f6de5fb2eefe3f7734b65dd Mon Sep 17 00:00:00 2001 From: DTB Date: Wed, 28 Aug 2024 18:31:25 -0600 Subject: [PATCH] peek(1): better error on piping --- src/peek.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/peek.c b/src/peek.c index bde3811..54f010e 100644 --- a/src/peek.c +++ b/src/peek.c @@ -88,7 +88,8 @@ int main(int argc, char *argv[]){ if (!allow_nonterminals && isatty(STDIN_FILENO) != 1) { (void)fprintf( stderr, - "%s: Must be run in a terminal (option -i skips this check)\n", + "%s: Must be run in a terminal (specify -i to skip this" + " check)\n", argv[0] ); return EX_USAGE;