aboutsummaryrefslogtreecommitdiff
path: root/bp.1
diff options
context:
space:
mode:
Diffstat (limited to 'bp.1')
-rw-r--r--bp.15
1 files changed, 5 insertions, 0 deletions
diff --git a/bp.1 b/bp.1
index 14303bb..ef56199 100644
--- a/bp.1
+++ b/bp.1
@@ -17,6 +17,7 @@ bp \- Bruce's Parsing Expression Grammar tool
[\fI-P\fR|\fI--pattern-string\fR \fI<string-pattern>\fR]
[\fI-r\fR|\fI--replace\fR \fI<replacement>\fR]
[\fI-g\fR|\fI--grammar\fR \fI<grammar file>\fR]
+[\fI-G\fR|\fI--git\fR]
[\fI-c\fR|\fI--conntext\fR \fI<N>\fR]
\fI<pattern\fR
[[--] \fI<input files...>\fR]
@@ -50,6 +51,10 @@ Replace all occurrences of the main pattern with the given string.
.B \-g\fR, \fB--grammar \fI<grammar file>\fR
Load the grammar from the given file.
+.B \-G\fR, \fB--git\fR
+Use \fBgit\fR to get a list of files. Remaining file arguments (if any) are
+passed to \fBgit --ls-files\fR instead of treated as literal files.
+
.B \-c\fR, \fB--context \fI<N>\fR
The number of lines of context to print. If \fI<N>\fR is 0, print only the
exact text of the matches. If \fI<N>\fR is "all", print the entire file.