Skip to content

Commit 94164da

Browse files
authored
doc: remove obsolete --napi-modules doc entry
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net> PR-URL: #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>
1 parent 5e47f2b commit 94164da

4 files changed

Lines changed: 2 additions & 15 deletions

File tree

doc/api/cli.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2011,14 +2011,6 @@ node --max-old-space-size-percentage=50 index.js
20112011
node --max-old-space-size-percentage=75 index.js
20122012
```
20132013

2014-
### `--napi-modules`
2015-
2016-
<!-- YAML
2017-
added: v7.10.0
2018-
-->
2019-
2020-
This option is a no-op. It is kept for compatibility.
2021-
20222014
### `--network-family-autoselection-attempt-timeout`
20232015

20242016
<!-- YAML
@@ -3864,7 +3856,6 @@ one is included in the list below.
38643856
* `--localstorage-file`
38653857
* `--max-http-header-size`
38663858
* `--max-old-space-size-percentage`
3867-
* `--napi-modules`
38683859
* `--network-family-autoselection-attempt-timeout`
38693860
* `--no-addons`
38703861
* `--no-async-context-frame`

doc/node.1

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,9 +1069,6 @@ node --max-old-space-size-percentage=50 index.js
10691069
node --max-old-space-size-percentage=75 index.js
10701070
.Ed
10711071
.
1072-
.It Fl -napi-modules
1073-
This option is a no-op. It is kept for compatibility.
1074-
.
10751072
.It Fl -network-family-autoselection-attempt-timeout
10761073
Sets the default value for the network family autoselection attempt timeout.
10771074
For more information, see \fBnet.getDefaultAutoSelectFamilyAttemptTimeout()\fR.
@@ -2039,8 +2036,6 @@ one is included in the list below.
20392036
.It
20402037
\fB--max-old-space-size-percentage\fR
20412038
.It
2042-
\fB--napi-modules\fR
2043-
.It
20442039
\fB--network-family-autoselection-attempt-timeout\fR
20452040
.It
20462041
\fB--no-addons\fR

test/node-api/test_fatal/test2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if (process.argv[2] === 'child') {
1212
}
1313

1414
const p = child_process.spawnSync(
15-
process.execPath, [ '--napi-modules', __filename, 'child' ]);
15+
process.execPath, [ __filename, 'child' ]);
1616
assert.ifError(p.error);
1717
assert.ok(p.stderr.toString().includes(
1818
'FATAL ERROR: test_fatal::Test fatal message'));

test/parallel/test-process-env-allowed-flags-are-documented.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ assert(undocumented.delete('--experimental-global-customevent'));
133133
assert(undocumented.delete('--experimental-global-webcrypto'));
134134
assert(undocumented.delete('--experimental-report'));
135135
assert(undocumented.delete('--experimental-worker'));
136+
assert(undocumented.delete('--napi-modules'));
136137
assert(undocumented.delete('--node-snapshot'));
137138
assert(undocumented.delete('--no-node-snapshot'));
138139
assert(undocumented.delete('--loader'));

0 commit comments

Comments
 (0)