From 6c3654161c0d10579b305e30d010e6236ca6d75c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 14 Dec 2020 22:32:47 -0800 Subject: Better arg parsing --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') 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 :` define a grammar rule * `-D` `--define-string :` define a grammar rule (string-pattern) * `-p` `--pattern ` provide a pattern (equivalent to `bp '\()'`) -- cgit v1.2.3