diff options
author | Dan Fabulich <dan.fabulich@redfin.com> | 2017-09-06 02:34:57 -0700 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2017-09-06 08:25:05 -0400 |
commit | beb010d004a79eedb8baa6f4eab21532e83a0ef0 (patch) | |
tree | 189c4052ffbb8b86c3ae9592f4c95ba371906f5a /complete | |
parent | f9cbf7d3d4febc44e7834003eec1f25498da111f (diff) |
doc: clarify --with-filename behavior with --heading
Diffstat (limited to 'complete')
-rw-r--r-- | complete/_rg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/complete/_rg b/complete/_rg index ec4863b8..cd5b5ac6 100644 --- a/complete/_rg +++ b/complete/_rg @@ -80,7 +80,7 @@ _rg() { '*'{-u,--unrestricted}'[reduce level of "smart" searching]' '(: -)'{-V,--version}'[display version information]' '(-p --heading --no-heading --pretty)--vimgrep[show results in vim-compatible format]' - '(-H --no-filename --with-filename)'{-H,--with-filename}'[prefix each match with name of file that contains it]' + '(-H --no-filename --with-filename)'{-H,--with-filename}'[display the file name for matches]' '(-w -x --line-regexp --word-regexp)'{-w,--word-regexp}'[only show matches surrounded by word boundaries]' '(-e -f --file --files --regexp --type-list)1: :_rg_pattern' '(--type-list)*:file:_files' |