X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-grep.txt;h=62a8e7f222d480046beee5cf735fa92821e26f8d;hb=5d043a3d856bd40d8b34b8836a561e438d23573b;hp=7b810dfda760a01c78667015f7c6214fcaeceae6;hpb=75c3a5ccdf114b5485e4828db1923bf4a35b19e2;p=git.git 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.