diff options
author | Collin Styles <collingstyles@gmail.com> | 2019-10-16 19:03:00 -0700 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2020-02-17 17:16:28 -0500 |
commit | a070722ff27c7d57d47b1766de9d253fbfe5bef9 (patch) | |
tree | 1a6370a1966bc094f22ef2d61afcb9d4c1ad6d52 /CHANGELOG.md | |
parent | 4628d778089d0bf609462af7d5b38997fd9a014f (diff) |
cli: add --include-zero flag
This flag, when used in conjunction with --count or --count-matches,
will print a result for each file searched even if there were zero
matches in that file. This is off by default but can be enabled to make
ripgrep behave more like grep.
This also clarifies some of the defaults for the
grep-printer::SummaryBuilder type.
Closes #1370, Closes #1405
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c4b82e0..e0d3e662 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,8 +11,10 @@ Feature enhancements: * Added or improved file type filtering for erb, diff, Gradle, HAML, Org, Postscript, Skim, Slim, Slime, RPM Spec files, Typoscript, xml. +* [FEATURE #1370](https://github.com/BurntSushi/ripgrep/pull/1370): + Add `--include-zero` flag that shows files searched without matches. * [FEATURE #1390](https://github.com/BurntSushi/ripgrep/pull/1390): - Add new `--no-context-separator` flag that always hides context separators. + Add `--no-context-separator` flag that always hides context separators. Bug fixes: |