aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-17 13:33:10 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-17 13:33:10 -0800
commit3cc645f2d0393e6e2d1d03a099a0c3320acb2a20 (patch)
treedb9a9574928075404af4fb64640be8fa096dd3d1 /README.md
parenta4f0b93836fa84c80d68ffdab4e36dd026a498f0 (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.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/README.md b/README.md
index 1050f72..d11e534 100644
--- a/README.md
+++ b/README.md
@@ -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