summaryrefslogtreecommitdiffstats
path: root/git-grep.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2006-09-16 18:16:04 +0000
committerJunio C Hamano <junio@hera.kernel.org>2006-09-16 18:16:04 +0000
commit97efb004f257a657187a16e1c4c2cefd00c4aa85 (patch)
tree30146365e669786ea78c92d0bb55c25a53845ae4 /git-grep.txt
parentfd73d89626d7af23c1e2a51cdaca976c2bf89f23 (diff)
downloadgit-htmldocs-97efb004f257a657187a16e1c4c2cefd00c4aa85.tar.gz
Autogenerated HTML docs for v1.4.2.1-ge767
Diffstat (limited to 'git-grep.txt')
-rw-r--r--git-grep.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/git-grep.txt b/git-grep.txt
index 7545dd9a3..d8af4d961 100644
--- a/git-grep.txt
+++ b/git-grep.txt
@@ -11,7 +11,7 @@ SYNOPSIS
[verse]
'git-grep' [--cached]
[-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp]
- [-v | --invert-match] [--full-name]
+ [-v | --invert-match] [-h|-H] [--full-name]
[-E | --extended-regexp] [-G | --basic-regexp] [-F | --fixed-strings]
[-n] [-l | --files-with-matches] [-L | --files-without-match]
[-c | --count]
@@ -47,6 +47,13 @@ OPTIONS
-v | --invert-match::
Select non-matching lines.
+-h | -H::
+ By default, the command shows the filename for each
+ match. `-h` option is used to suppress this output.
+ `-H` is there for completeness and does not do anything
+ except it overrides `-h` given earlier on the command
+ line.
+
--full-name::
When run from a subdirectory, the command usually
outputs paths relative to the current directory. This