aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index ec01682..1050f72 100644
--- a/README.md
+++ b/README.md
@@ -17,9 +17,10 @@ It's written in pure C with no dependencies.
* `-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
+* `-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
+* `-g` `--grammar <grammar file>` use the specified file as a grammar
+* `-G` `--git` get filenames from git
See `man ./bp.1` for more details.