Skip to content

Commit 644b1a5

Browse files
legendecasaduh95
authored andcommitted
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 7f054f6 commit 644b1a5

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
@@ -1996,14 +1996,6 @@ node --max-old-space-size-percentage=50 index.js
19961996
node --max-old-space-size-percentage=75 index.js
19971997
```
19981998

1999-
### `--napi-modules`
2000-
2001-
<!-- YAML
2002-
added: v7.10.0
2003-
-->
2004-
2005-
This option is a no-op. It is kept for compatibility.
2006-
20071999
### `--network-family-autoselection-attempt-timeout`
20082000

20092001
<!-- YAML
@@ -3839,7 +3831,6 @@ one is included in the list below.
38393831
* `--localstorage-file`
38403832
* `--max-http-header-size`
38413833
* `--max-old-space-size-percentage`
3842-
* `--napi-modules`
38433834
* `--network-family-autoselection-attempt-timeout`
38443835
* `--no-addons`
38453836
* `--no-async-context-frame`

doc/node.1

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,9 +1065,6 @@ node --max-old-space-size-percentage=50 index.js
10651065
node --max-old-space-size-percentage=75 index.js
10661066
.Ed
10671067
.
1068-
.It Fl -napi-modules
1069-
This option is a no-op. It is kept for compatibility.
1070-
.
10711068
.It Fl -network-family-autoselection-attempt-timeout
10721069
Sets the default value for the network family autoselection attempt timeout.
10731070
For more information, see \fBnet.getDefaultAutoSelectFamilyAttemptTimeout()\fR.
@@ -2033,8 +2030,6 @@ one is included in the list below.
20332030
.It
20342031
\fB--max-old-space-size-percentage\fR
20352032
.It
2036-
\fB--napi-modules\fR
2037-
.It
20382033
\fB--network-family-autoselection-attempt-timeout\fR
20392034
.It
20402035
\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)