From 58af933f4e70e2b85b11ca05c799fce226ed1821 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 17 Jan 2021 09:21:58 -0800 Subject: Added --git/-G --- bp.1 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bp.1') 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\fR] [\fI-r\fR|\fI--replace\fR \fI\fR] [\fI-g\fR|\fI--grammar\fR \fI\fR] +[\fI-G\fR|\fI--git\fR] [\fI-c\fR|\fI--conntext\fR \fI\fR] \fI\fR] @@ -50,6 +51,10 @@ Replace all occurrences of the main pattern with the given string. .B \-g\fR, \fB--grammar \fI\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\fR The number of lines of context to print. If \fI\fR is 0, print only the exact text of the matches. If \fI\fR is "all", print the entire file. -- cgit v1.2.3