doc: remove obsolete --napi-modules doc entry

Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
PR-URL: https://github.com/nodejs/node/pull/64220
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Adrian Estrada <edsadr@gmail.com>
Reviewed-By: Edy Silva <edigleyssonsilva@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
This commit is contained in:
Chengzhong Wu authored and GitHub committed 2026-07-07 15:29:10 +00:00
1 parent 5e47f2b468
commit 94164da441
4 files changed
+2 -15

No files matched your search

-9
View File
@@ -2011,14 +2011,6 @@ node --max-old-space-size-percentage=50 index.js
node --max-old-space-size-percentage=75 index.js
```
### `--napi-modules`
<!-- YAML
added: v7.10.0
-->
This option is a no-op. It is kept for compatibility.
### `--network-family-autoselection-attempt-timeout`
<!-- YAML
@@ -3864,7 +3856,6 @@ one is included in the list below.
* `--localstorage-file`
* `--max-http-header-size`
* `--max-old-space-size-percentage`
* `--napi-modules`
* `--network-family-autoselection-attempt-timeout`
* `--no-addons`
* `--no-async-context-frame`
-5
View File
@@ -1069,9 +1069,6 @@ node --max-old-space-size-percentage=50 index.js
node --max-old-space-size-percentage=75 index.js
.Ed
.
.It Fl -napi-modules
This option is a no-op. It is kept for compatibility.
.
.It Fl -network-family-autoselection-attempt-timeout
Sets the default value for the network family autoselection attempt timeout.
For more information, see \fBnet.getDefaultAutoSelectFamilyAttemptTimeout()\fR.
@@ -2039,8 +2036,6 @@ one is included in the list below.
.It
\fB--max-old-space-size-percentage\fR
.It
\fB--napi-modules\fR
.It
\fB--network-family-autoselection-attempt-timeout\fR
.It
\fB--no-addons\fR
+1 -1
View File
@@ -12,7 +12,7 @@ if (process.argv[2] === 'child') {
}
const p = child_process.spawnSync(
process.execPath, [ '--napi-modules', __filename, 'child' ]);
process.execPath, [ __filename, 'child' ]);
assert.ifError(p.error);
assert.ok(p.stderr.toString().includes(
'FATAL ERROR: test_fatal::Test fatal message'));
@@ -133,6 +133,7 @@ assert(undocumented.delete('--experimental-global-customevent'));
assert(undocumented.delete('--experimental-global-webcrypto'));
assert(undocumented.delete('--experimental-report'));
assert(undocumented.delete('--experimental-worker'));
assert(undocumented.delete('--napi-modules'));
assert(undocumented.delete('--node-snapshot'));
assert(undocumented.delete('--no-node-snapshot'));
assert(undocumented.delete('--loader'));