summaryrefslogtreecommitdiffstats
path: root/git-grep.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-07-01 00:08:51 +0000
committerJunio C Hamano <junio@kernel.org>2010-07-01 00:08:51 +0000
commit7d44952cc831fe14797546fa07afc857b0844d25 (patch)
tree30d2c8dfe0d9897379c3a3f472b4f21ab4822c81 /git-grep.txt
parent30e8106caeb8158599478faa5ec02eb955db38fa (diff)
downloadgit-htmldocs-7d44952cc831fe14797546fa07afc857b0844d25.tar.gz
Autogenerated HTML docs for v1.7.2-rc1
Diffstat (limited to 'git-grep.txt')
-rw-r--r--git-grep.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/git-grep.txt b/git-grep.txt
index 912bddd7b..5474dd7f9 100644
--- a/git-grep.txt
+++ b/git-grep.txt
@@ -14,6 +14,7 @@ SYNOPSIS
[-E | --extended-regexp] [-G | --basic-regexp]
[-F | --fixed-strings] [-n]
[-l | --files-with-matches] [-L | --files-without-match]
+ [(-O | --open-files-in-pager) [<pager>]]
[-z | --null]
[-c | --count] [--all-match] [-q | --quiet]
[--max-depth <depth>]
@@ -104,6 +105,13 @@ OPTIONS
For better compatibility with 'git diff', `--name-only` is a
synonym for `--files-with-matches`.
+-O [<pager>]::
+--open-files-in-pager [<pager>]::
+ Open the matching files in the pager (not the output of 'grep').
+ If the pager happens to be "less" or "vi", and the user
+ specified only one pattern, the first file is positioned at
+ the first match automatically.
+
-z::
--null::
Output \0 instead of the character that normally follows a