From 3cc645f2d0393e6e2d1d03a099a0c3320acb2a20 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 17 Jan 2021 13:33:10 -0800 Subject: Improved argument parsing and added support for prompting user for a pattern if none is provided --- README.md | 1 - 1 file changed, 1 deletion(-) (limited to 'README.md') 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 ` provide a pattern (equivalent to `bp '\()'`) -* `-P` `--pattern-string ` provide a string pattern (equivalent to `bp ''`, but may be useful if `''` begins with a '-') * `-r` `--replace ` replace the input pattern with the given replacement * `-c` `--context ` change how many lines of context are printed (`0`: no context, `all`: the whole file, `` matching lines and `` lines before/after) * `-g` `--grammar ` use the specified file as a grammar -- cgit v1.2.3