diff --git a/doc/batgrep.md b/doc/batgrep.md index b1ea510..efc0491 100644 --- a/doc/batgrep.md +++ b/doc/batgrep.md @@ -22,7 +22,7 @@ A script that combines [ripgrep](https://github.com/burntsushi/ripgrep) with bat | `-A` | `--after-context=[LINES]` | Display the next *n* lines after a matched line. | | `-B` | `--before-context=[LINES]` | Display the previous `n` lines before a matched line. | | `-C` | `--context=[LINES]` | A combination of `--after-context` and `--before-context`. | -| `-p` | `--less-search-pattern` | Tell pager to search for `PATTERN`. Currently supported pagers: `less`. | +| `-p` | `--search-pattern` | Tell pager to search for `PATTERN`. Currently supported pagers: `less`. | | | `--no-follow` | Do not follow symlinks. | | | `--no-snip` | Do not show the `snip` decoration.

This is automatically enabled when `--context=0` or when `bat --version` is less than `0.12.x`. | | | `--no-highlight` | Do not highlight matching lines.

This is automatically enabled when `--context=0`. | @@ -76,4 +76,4 @@ This script is a part of the `bat-extras` suite of scripts. You can find install ## Issues? If you find an issue or have a feature suggestion, make a pull request or issue through GitHub! -Contributions are always welcome. \ No newline at end of file +Contributions are always welcome.