git: 070e8d36d9b3 - main - grep: Add quotes in manpage when using wildcards with --include

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Wed, 05 Oct 2022 17:06:11 UTC
The branch main has been updated by diizzy (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=070e8d36d9b3edee4d8b36cdf9745b9af239dce6

commit 070e8d36d9b3edee4d8b36cdf9745b9af239dce6
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-05 17:04:52 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-10-05 17:05:52 +0000

    grep: Add quotes in manpage when using wildcards with --include
    
    Examples uses --include=*.h which doesn't work as intended
    
    Approved by:    kevans
    Differential Revision:  https://reviews.freebsd.org/D36883
---
 usr.bin/grep/grep.1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1
index 3312f2510d30..36fcbf868984 100644
--- a/usr.bin/grep/grep.1
+++ b/usr.bin/grep/grep.1
@@ -515,11 +515,11 @@ Do the search recursively from the
 .Pa /usr/src/sys/arm
 directory
 .Pp
-.Dl $ grep -H -R FIXME --include=*.h /usr/src/sys/arm/
+.Dl $ grep -H -R FIXME --include="*.h" /usr/src/sys/arm/
 .It
 Same as above but show only the name of the matching file:
 .Pp
-.Dl $ grep -l -R FIXME --include=*.h /usr/src/sys/arm/
+.Dl $ grep -l -R FIXME --include="*.h" /usr/src/sys/arm/
 .It
 Show lines containing the text
 .Sq foo .