summaryrefslogtreecommitdiffstats
path: root/git-grep.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-07-18 13:16:48 -0700
committerJunio C Hamano <gitster@pobox.com>2018-07-18 13:16:48 -0700
commitea1ac8d6d6d8856d448e1f6e2d941f7663dc9ecd (patch)
tree50a7bda536235313b6288988e779c75bc53970e5 /git-grep.txt
parentec40f134aa677499a0c1bf7ea6133b7b5fe348c4 (diff)
downloadgit-htmldocs-ea1ac8d6d6d8856d448e1f6e2d941f7663dc9ecd.tar.gz
Autogenerated HTML docs for v2.18.0-232-gb7bd94
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 312409a60..0de3493b8 100644
--- a/git-grep.txt
+++ b/git-grep.txt
@@ -13,7 +13,7 @@ SYNOPSIS
[-v | --invert-match] [-h|-H] [--full-name]
[-E | --extended-regexp] [-G | --basic-regexp]
[-P | --perl-regexp]
- [-F | --fixed-strings] [-n | --line-number]
+ [-F | --fixed-strings] [-n | --line-number] [--column]
[-l | --files-with-matches] [-L | --files-without-match]
[(-O | --open-files-in-pager) [<pager>]]
[-z | --null]
@@ -44,6 +44,9 @@ CONFIGURATION
grep.lineNumber::
If set to true, enable `-n` option by default.
+grep.column::
+ If set to true, enable the `--column` option by default.
+
grep.patternType::
Set the default matching behavior. Using a value of 'basic', 'extended',
'fixed', or 'perl' will enable the `--basic-regexp`, `--extended-regexp`,
@@ -169,6 +172,10 @@ providing this option will cause it to die.
--line-number::
Prefix the line number to matching lines.
+--column::
+ Prefix the 1-indexed byte-offset of the first match from the start of the
+ matching line.
+
-l::
--files-with-matches::
--name-only::