diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-17 09:21:58 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-17 09:21:58 -0800 |
| commit | 58af933f4e70e2b85b11ca05c799fce226ed1821 (patch) | |
| tree | f3043d1aec783ed74cf494c9b2d371f197a2a674 /bp.1 | |
| parent | 05b9b0ff9775bf5e63c1cc018f57f6a9ff910a58 (diff) | |
Added --git/-G
Diffstat (limited to 'bp.1')
| -rw-r--r-- | bp.1 | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |
