Skip to content

Commit

Permalink
correct documentation for git grep
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Matthias Lederhofer authored and Junio C Hamano committed Jun 25, 2006
1 parent 29f4ad8 commit 3acb27b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Documentation/git-grep.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SYNOPSIS
[-n] [-l | --files-with-matches] [-L | --files-without-match]
[-c | --count]
[-A <post-context>] [-B <pre-context>] [-C <context>]
[-f <file>] [-e <pattern>]
[-f <file>] [-e] <pattern>
[<tree>...]
[--] [<path>...]

Expand Down Expand Up @@ -71,6 +71,11 @@ OPTIONS
-f <file>::
Read patterns from <file>, one per line.

-e::
The next parameter is the pattern. This option has to be
used for patterns starting with - and should be used in
scripts passing user input to grep.

`<tree>...`::
Search blobs in the trees for specified patterns.

Expand Down

0 comments on commit 3acb27b

Please sign in to comment.