mirror of
https://https.git.savannah.gnu.org/git/grep.git
synced 2026-01-26 07:37:52 +00:00
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:
parent
b1eaccd96d
commit
fc6aba9000
@ -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
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user