diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-12-14 22:32:47 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-12-14 22:32:47 -0800 |
| commit | 6c3654161c0d10579b305e30d010e6236ca6d75c (patch) | |
| tree | 4301a942b693ef73300138de586c4412ae50d6e8 /bp.1 | |
| parent | f019a4fcb180bbf5888fed6c618b8d92a9936755 (diff) | |
Better arg parsing
Diffstat (limited to 'bp.1')
| -rw-r--r-- | bp.1 | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -7,6 +7,8 @@ bp \- Bruce's Parsing Expression Grammar tool .B bp [\fI-h\fR|\fI--help\fR] [\fI-v\fR|\fI--verbose\fR] +[\fI-e\fR|\fI--explain\fR] +[\fI-j\fR|\fI--json\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] @@ -23,6 +25,12 @@ bp \- Bruce's Parsing Expression Grammar tool .B \-v\fR, \fB--verbose Print debugging information. +.B \-e\fR, \fB--explain +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 \-i\fR, \fB--ignore-case Perform pattern matching case-insensitively. |
