doc: clarify a --help sentence

* src/grep.c (usage): Prompted by a suggestion at
https://bugs.gnu.org/75582 by Anton Samokat.
* THANKS.in: Add that name.
This commit is contained in:
Jim Meyering 2025-01-15 20:58:58 -08:00
parent b1eaccd96d
commit fc6aba9000
2 changed files with 6 additions and 4 deletions

View File

@ -13,6 +13,7 @@ end of e.g., grep --help).
Akim Demaille akim@epita.fr
Andreas Schwab schwab@suse.de
Andreas Ley andy@rz.uni-karlsruhe.de
Anton Samokat samokat700@gmail.com
Bastiaan "Darquan" Stougie darquan@zonnet.nl
Ben Elliston bje@cygnus.com
Bernd Strieder strieder@student.uni-kl.de

View File

@ -2064,10 +2064,11 @@ Context control:\n\
-U, --binary do not strip CR characters at EOL (MSDOS/Windows)\n\
\n"));
printf (_("\
When FILE is '-', read standard input. With no FILE, read '.' if\n\
recursive, '-' otherwise. With fewer than two FILEs, assume -h.\n\
Exit status is 0 if any line is selected, 1 otherwise;\n\
if any error occurs and -q is not given, the exit status is 2.\n"));
When FILE is '-', read standard input. If no FILE is given, read standard\n\
input, but with -r, recursively search the working directory instead. With\n\
fewer than two FILEs, assume -h. Exit status is 0 if any line is selected,\n\
1 otherwise; if any error occurs and -q is not given, the exit status is 2.\n"
));
emit_bug_reporting_address ();
}
exit (status);