peek(1): better error on piping

This commit is contained in:
dtb 2024-08-28 18:31:25 -06:00
parent 7d174c1f7c
commit 3bfdc62035
Signed by: trinity
GPG Key ID: 34C0543BBB6AF81B

View File

@ -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;