aboutsummaryrefslogtreecommitdiff
path: root/README.md
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 /README.md
parentf019a4fcb180bbf5888fed6c618b8d92a9936755 (diff)
Better arg parsing
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 537055c..24cb549 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,8 @@ It's written in pure C with no dependencies.
* `-h` `--help` print the usage and quit
* `-v` `--verbose` print verbose debugging info
* `-i` `--ignore-case` perform a case-insensitive match
+* `-e` `--explain` print an explanation of the matches
+* `-j` `--json` print matches as JSON objects
* `-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>)'`)