summaryrefslogtreecommitdiffstats
path: root/git-grep.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-08-02 16:01:45 -0700
committerJunio C Hamano <gitster@pobox.com>2018-08-02 16:01:45 -0700
commitf09b7cd0fc08d1df0fbd5c756672772049836b7a (patch)
treef5407aed048f255184084b9127f43dbf337eb27a /git-grep.txt
parent1ff0338e53a8f0c62e5a9370e770e20058c5ad1e (diff)
downloadgit-htmldocs-f09b7cd0fc08d1df0fbd5c756672772049836b7a.tar.gz
Autogenerated HTML docs for v2.18.0-547-g1d893
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 0de3493b8..a3049af1a 100644
--- a/git-grep.txt
+++ b/git-grep.txt
@@ -17,7 +17,7 @@ SYNOPSIS
[-l | --files-with-matches] [-L | --files-without-match]
[(-O | --open-files-in-pager) [<pager>]]
[-z | --null]
- [-c | --count] [--all-match] [-q | --quiet]
+ [ -o | --only-matching ] [-c | --count] [--all-match] [-q | --quiet]
[--max-depth <depth>]
[--color[=<when>] | --no-color]
[--break] [--heading] [-p | --show-function]
@@ -201,6 +201,11 @@ providing this option will cause it to die.
Output \0 instead of the character that normally follows a
file name.
+-o::
+--only-matching::
+ Print only the matched (non-empty) parts of a matching line, with each such
+ part on a separate output line.
+
-c::
--count::
Instead of showing every matched line, show the number of