git-grep(1) on Linux
The text c5106f2fc672, as Debian 10 (Buster) shipped it.
Print lines matching a pattern
Flags it lists
-
-- -
--after-context -
--all-match -
--basic-regexp -
--before-context -
--break -
--cached -
--color -
--column -
--count -
--exclude-standard -
--extended-regexp -
--files-with-matches -
--files-without-match -
--fixed-strings -
--full-name -
--function-context -
--heading -
--ignore-case -
--invert-match -
--line-number -
--max-depth -
--name-only -
--no-color -
--no-exclude-standard -
--no-index -
--no-recursive -
--no-textconv -
--null -
--only-matching -
--open-files-in-pager -
--perl-regexp -
--quiet -
--recurse-submodules -
--recursive -
--show-function -
--text -
--textconv -
--threads -
--untracked -
--word-regexp -
-A -
-B -
-E -
-F -
-G -
-H -
-I -
-L -
-O -
-P -
-W -
-a -
-c -
-e -
-f -
-h -
-i -
-l -
-n -
-o -
-p -
-q -
-r -
-v -
-w -
-z