From: Matthias Lederhofer Date: Sun, 25 Jun 2006 16:07:15 +0000 (+0200) Subject: correct documentation for git grep X-Git-Tag: v1.4.1-rc2~25 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=3acb27b6a4bd98dd58c1c17234b9b53ce0d78454;p=git-core%2Fgit.git correct documentation for git grep Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index 7b810dfda..62a8e7f22 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -16,7 +16,7 @@ SYNOPSIS [-n] [-l | --files-with-matches] [-L | --files-without-match] [-c | --count] [-A ] [-B ] [-C ] - [-f ] [-e ] + [-f ] [-e] [...] [--] [...] @@ -71,6 +71,11 @@ OPTIONS -f :: Read patterns from , 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. + `...`:: Search blobs in the trees for specified patterns.