diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-17 13:33:10 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-17 13:33:10 -0800 |
| commit | 3cc645f2d0393e6e2d1d03a099a0c3320acb2a20 (patch) | |
| tree | db9a9574928075404af4fb64640be8fa096dd3d1 /README.md | |
| parent | a4f0b93836fa84c80d68ffdab4e36dd026a498f0 (diff) | |
Improved argument parsing and added support for prompting user for a
pattern if none is provided
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -16,7 +16,6 @@ It's written in pure C with no dependencies. * `-j` `--json` print matches as JSON objects * `-l` `--list-files` print only filenames containing matches * `-p` `--pattern <pat>` provide a pattern (equivalent to `bp '\(<pat>)'`) -* `-P` `--pattern-string <pat>` provide a string pattern (equivalent to `bp '<pat>'`, but may be useful if `'<pat>'` begins with a '-') * `-r` `--replace <replacement>` replace the input pattern with the given replacement * `-c` `--context <N>` change how many lines of context are printed (`0`: no context, `all`: the whole file, `<N>` matching lines and `<N-1>` lines before/after) * `-g` `--grammar <grammar file>` use the specified file as a grammar |
