aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-09-16 22:39:33 -0700
committerBruce Hill <bruce@bruce-hill.com>2020-09-16 22:39:33 -0700
commit9f62d3c7a9f14f07b75a558ee4835ff3bfe0e90b (patch)
treec3d0756206503c9d5cef3f8e6297e3324b9c1d27 /README.md
parent82952fa5e955885baa1632b0b0ba2ab040a30f14 (diff)
Changed arg parsing to '-d foo:baz' for consistency (was: '-d foo=baz')
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 75458d6..952be7b 100644
--- a/README.md
+++ b/README.md
@@ -10,8 +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
-* `-d` `--define <name>=<def>` define a grammar rule
-* `-D` `--define-string <name>=<def>` define a grammar rule (string-pattern)
+* `-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 bpeg '
* `-P` `--pattern-string <pat>` provide a string pattern (equivalent to bpeg '<pat>', but may be useful if '<pat>' begins with a '-')
* `-r` `--replace <replacement>` replace the input pattern with the given replacement