Change --less-search-pattern to --search-pattern in docs

This commit is contained in:
Ethan P 2020-01-17 20:44:58 -08:00
parent c78bb6d592
commit d7949c4bf3
No known key found for this signature in database
GPG Key ID: 6963FD04F6CF35EA

View File

@ -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.<br /><br />This is automatically enabled when `--context=0` or when `bat --version` is less than `0.12.x`. |
| | `--no-highlight` | Do not highlight matching lines.<br /><br />This is automatically enabled when `--context=0`. |