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 /README.md | |
| parent | f019a4fcb180bbf5888fed6c618b8d92a9936755 (diff) | |
Better arg parsing
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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>)'`) |
