summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-01-02 01:54:47 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2020-01-02 01:55:22 -0800
commit767c83fd302f05a8b790a78eacce11aac50903ee (patch)
tree863eacb5757029488530d3eaa7ed1f93203310ec
parent83a50fa46687ae9cd13d0bbc85cc093306228236 (diff)
downloadgrep-767c83fd302f05a8b790a78eacce11aac50903ee.tar.gz
doc: fix --exclude description in man page
Problem reported by Duncan Moore (Bug#37212). * src/grep.c (usage): Fix incorrect statement about --exclude and directories. Standardize on “that match GLOB” instead of “matching GLOB”.
-rw-r--r--src/grep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/grep.c b/src/grep.c
index 35d563d1..7ba602d9 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -1970,8 +1970,8 @@ Output control:\n\
printf (_("\
--include=GLOB search only files that match GLOB (a file pattern)"
"\n\
- --exclude=GLOB skip files and directories matching GLOB\n\
- --exclude-from=FILE skip files matching any file pattern from FILE\n\
+ --exclude=GLOB skip files that match GLOB\n\
+ --exclude-from=FILE skip files that match any file pattern from FILE\n\
--exclude-dir=GLOB skip directories that match GLOB\n\
"));
printf (_("\