From 767c83fd302f05a8b790a78eacce11aac50903ee Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 2 Jan 2020 01:54:47 -0800 Subject: doc: fix --exclude description in man page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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”. --- src/grep.c | 4 ++-- 1 file 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 (_("\ -- cgit v1.2.1