Browse Source

README.md: Describe the --optimize command-line option

redux
David Majda 5 years ago
parent
commit
c0e2bd218c
  1. 2
      README.md

2
README.md

@ -100,6 +100,8 @@ You can tweak the generated parser with several options:
`peg.generate`
* `--extra-options-file` — file with additional options (in JSON format) to
pass to `peg.generate`
* `--optimize` — selects between optimizing the generated parser for parsing
speed (`speed`) or code size (`size`) (default: `speed`)
* `--plugin` — makes PEG.js use a specified plugin (can be specified multiple
times)
* `--trace` — makes the parser trace its progress

Loading…
Cancel
Save