Skip to content

Commit

Permalink
Document git-grep -[Hh]
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Sep 16, 2006
1 parent d48ffdb commit 17fd965
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Documentation/git-grep.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SYNOPSIS
[verse]
'git-grep' [--cached]
[-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp]
[-v | --invert-match] [--full-name]
[-v | --invert-match] [-h|-H] [--full-name]
[-E | --extended-regexp] [-G | --basic-regexp] [-F | --fixed-strings]
[-n] [-l | --files-with-matches] [-L | --files-without-match]
[-c | --count]
Expand Down Expand Up @@ -47,6 +47,13 @@ OPTIONS
-v | --invert-match::
Select non-matching lines.

-h | -H::
By default, the command shows the filename for each
match. `-h` option is used to suppress this output.
`-H` is there for completeness and does not do anything
except it overrides `-h` given earlier on the command
line.

--full-name::
When run from a subdirectory, the command usually
outputs paths relative to the current directory. This
Expand Down

0 comments on commit 17fd965

Please sign in to comment.