summaryrefslogtreecommitdiffstats
path: root/git-grep.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2006-06-26 23:46:53 +0000
committerJunio C Hamano <junio@hera.kernel.org>2006-06-26 23:46:53 +0000
commit3901ffb453101d619d2d19f531d2d05481a03751 (patch)
treef9223d90d26da56307677c9a8772faaeac697cd4 /git-grep.txt
parent97f518c4cae23baaa8a9731a830793ae23f97fc7 (diff)
downloadgit-htmldocs-3901ffb453101d619d2d19f531d2d05481a03751.tar.gz
Autogenerated HTML docs for v1.4.1-rc1-g1ef9
Diffstat (limited to 'git-grep.txt')
-rw-r--r--git-grep.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/git-grep.txt b/git-grep.txt
index 7b810dfda..62a8e7f22 100644
--- a/git-grep.txt
+++ b/git-grep.txt
@@ -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>...]
@@ -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.