fix(cli): remove --emit=lib generate option
This also replaces the `--emit` option with an `--no-parser` flag. The default value is false, meaning a parser is still generated by default.
This commit is contained in:
parent
b8f52210f9
commit
097c2d4f05
5 changed files with 17 additions and 36 deletions
|
|
@ -30,13 +30,9 @@ what keywords were extracted, what states were split and why, and the entry poin
|
|||
|
||||
The ABI to use for parser generation. The default is ABI 15, with ABI 14 being a supported target.
|
||||
|
||||
### `--emit`
|
||||
### `--no-parser`
|
||||
|
||||
What generated files to emit. Possible values:
|
||||
|
||||
- `json`: Generate `grammar.json` and `node-types.json`
|
||||
- `parser` (default): Generate `parser.c` and related files.
|
||||
- `lib`: Compile to a library (equivalent of the deprecated `--build` option)
|
||||
Only generate `grammar.json` and `node-types.json`
|
||||
|
||||
### `-0/--debug-build`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue