Document git-grep -[Hh]
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Sep 15, 2006 at 18:37 UTC
17fd965d215060a10911db99c2dacf9c3554787a
1 file changed
+8
-1
Documentation/git-grep.txt
+8
-1
@@ -11,7 +11,7 @@ SYNOPSIS
11
[verse]
12
'git-grep' [--cached]
13
[-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp]
14
- [-v | --invert-match] [--full-name]
14
+ [-v | --invert-match] [-h|-H] [--full-name]
15
[-E | --extended-regexp] [-G | --basic-regexp] [-F | --fixed-strings]
16
[-n] [-l | --files-with-matches] [-L | --files-without-match]
17
[-c | --count]
@@ -47,6 +47,13 @@ OPTIONS
47
-v | --invert-match::
48
Select non-matching lines.
49
50
+-h | -H::
51
+ By default, the command shows the filename for each
52
+ match. `-h` option is used to suppress this output.
53
+ `-H` is there for completeness and does not do anything
54
+ except it overrides `-h` given earlier on the command
55
+ line.
56
+
57
--full-name::
58
When run from a subdirectory, the command usually
59
outputs paths relative to the current directory. This