aboutsummaryrefslogtreecommitdiff
path: root/bp.1
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-12-14 22:32:47 -0800
committerBruce Hill <bruce@bruce-hill.com>2020-12-14 22:32:47 -0800
commit6c3654161c0d10579b305e30d010e6236ca6d75c (patch)
tree4301a942b693ef73300138de586c4412ae50d6e8 /bp.1
parentf019a4fcb180bbf5888fed6c618b8d92a9936755 (diff)
Better arg parsing
Diffstat (limited to 'bp.1')
-rw-r--r--bp.18
1 files changed, 8 insertions, 0 deletions
diff --git a/bp.1 b/bp.1
index 03874ef..6eaf937 100644
--- a/bp.1
+++ b/bp.1
@@ -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.