mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-07-25 09:11:57 -07:00
cli: error when searching for NUL
Basically, unless the -a/--text flag is given, it is generally always an error to search for an explicit NUL byte because the binary detection will prevent it from matching. Fixes #1838
This commit is contained in:
@@ -34,6 +34,8 @@ Feature enhancements:
|
||||
Add new `--stop-on-nonmatch` flag.
|
||||
* [FEATURE #1814](https://github.com/BurntSushi/ripgrep/issues/1814):
|
||||
Flags are now categorized in `-h/--help` output and ripgrep's man page.
|
||||
* [FEATURE #1838](https://github.com/BurntSushi/ripgrep/issues/1838):
|
||||
An error is shown when searching for NUL bytes with binary detection enabled.
|
||||
* [FEATURE #2195](https://github.com/BurntSushi/ripgrep/issues/2195):
|
||||
When `extra-verbose` mode is enabled in zsh, show extra file type info.
|
||||
* [FEATURE #2298](https://github.com/BurntSushi/ripgrep/issues/2298):
|
||||
|
Reference in New Issue
Block a user