peek(1): better error on piping
This commit is contained in:
parent
21ee79a929
commit
8374b34834
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user