From c0e2bd218c99651a91745ee7d2babd6316a8b0bf Mon Sep 17 00:00:00 2001 From: David Majda Date: Wed, 22 Jun 2016 09:46:16 +0200 Subject: [PATCH] README.md: Describe the --optimize command-line option --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0c089eb..d97f9d3 100644 --- a/README.md +++ b/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