correct documentation for git grep
Signed-off-by: Junio C Hamano <junkio@cox.net>
Matthias Lederhofer committed
Jun 25, 2006 at 18:07 UTC
3acb27b6a4bd98dd58c1c17234b9b53ce0d78454
1 file changed
+6
-1
Documentation/git-grep.txt
+6
-1
@@ -16,7 +16,7 @@ SYNOPSIS
16
[-n] [-l | --files-with-matches] [-L | --files-without-match]
17
[-c | --count]
18
[-A <post-context>] [-B <pre-context>] [-C <context>]
19
- [-f <file>] [-e <pattern>]
19
+ [-f <file>] [-e] <pattern>
20
[<tree>...]
21
[--] [<path>...]
22
@@ -71,6 +71,11 @@ OPTIONS
71
-f <file>::
72
Read patterns from <file>, one per line.
73
74
+-e::
75
+ The next parameter is the pattern. This option has to be
76
+ used for patterns starting with - and should be used in
77
+ scripts passing user input to grep.
78
+
79
`<tree>...`::
80
Search blobs in the trees for specified patterns.
81