Updated docs
This commit is contained in:
parent
b3bca46c2f
commit
40be243004
@ -12,6 +12,7 @@ It's written in pure C with no dependencies.
|
||||
* `-i` `--ignore-case` perform a case-insensitive match
|
||||
* `-e` `--explain` print an explanation of the matches
|
||||
* `-j` `--json` print matches as JSON objects
|
||||
* `-l` `--list-files` print only filenames containing matches
|
||||
* `-d` `--define <name>:<def>` define a grammar rule
|
||||
* `-D` `--define-string <name>:<def>` define a grammar rule (string-pattern)
|
||||
* `-p` `--pattern <pat>` provide a pattern (equivalent to `bp '\(<pat>)'`)
|
||||
|
4
bp.1
4
bp.1
@ -9,6 +9,7 @@ bp \- Bruce's Parsing Expression Grammar tool
|
||||
[\fI-v\fR|\fI--verbose\fR]
|
||||
[\fI-e\fR|\fI--explain\fR]
|
||||
[\fI-j\fR|\fI--json\fR]
|
||||
[\fI-l\fR|\fI--list-files\fR]
|
||||
[\fI-i\fR|\fI--ignore-case\fR \fI<pattern>\fR]
|
||||
[\fI-p\fR|\fI--pattern\fR \fI<pattern>\fR]
|
||||
[\fI-P\fR|\fI--pattern-string\fR \fI<string-pattern>\fR]
|
||||
@ -31,6 +32,9 @@ Print a visual explanation of the matches.
|
||||
.B \-j\fR, \fB--json
|
||||
Print a JSON list of the matches. (Pairs with \fB--verbose\fR for more detail)
|
||||
|
||||
.B \-l\fR, \fB--list-files
|
||||
Print only the names of files containing matches instead of the matches themselves.
|
||||
|
||||
.B \-i\fR, \fB--ignore-case
|
||||
Perform pattern matching case-insensitively.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user