mirror of
https://github.com/eth-p/bat-extras.git
synced 2025-06-20 11:47:43 +02:00
Change --less-search-pattern to --search-pattern in docs
This commit is contained in:
parent
c78bb6d592
commit
d7949c4bf3
@ -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. |
|
| `-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. |
|
| `-B` | `--before-context=[LINES]` | Display the previous `n` lines before a matched line. |
|
||||||
| `-C` | `--context=[LINES]` | A combination of `--after-context` and `--before-context`. |
|
| `-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-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-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`. |
|
| | `--no-highlight` | Do not highlight matching lines.<br /><br />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?
|
## Issues?
|
||||||
|
|
||||||
If you find an issue or have a feature suggestion, make a pull request or issue through GitHub!
|
If you find an issue or have a feature suggestion, make a pull request or issue through GitHub!
|
||||||
Contributions are always welcome.
|
Contributions are always welcome.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user