-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.node-apiIssues and PRs related to the Node-API.Issues and PRs related to the Node-API.
Description
Looks like the documentation for --napi-modules
doesn't match the node --help
output.
Lines 3493 to 3494 in 237aa7e
" --napi-modules load N-API modules (no-op - option\n" | |
" kept for compatibility)\n" |
Lines 119 to 121 in 237aa7e
.It Fl -napi-modules | |
Enable loading native modules compiled with the ABI-stable Node.js API (N-API) | |
(experimental). |
Lines 134 to 140 in 237aa7e
### `--napi-modules` | |
<!-- YAML | |
added: v7.10.0 | |
--> | |
Enable loading native modules compiled with the ABI-stable Node.js API (N-API) | |
(experimental). |
#14902 removed the description from cli.md
but not from node.1
. #19878 spotted the discrepancy between the files and added it back. I think I'd favour keeping the option listed in the docs, but with the description changed to match the --help
output (or similar words) -- It's definitely no longer experimental.
cc @nodejs/n-api
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.node-apiIssues and PRs related to the Node-API.Issues and PRs related to the Node-API.