Skip to content

Commit b97d518

Browse files
author
Gabriel Schulhof
committed
doc: update to reflect new command line switch
Re nodejs/node#11975 (comment)
1 parent b3d806c commit b97d518

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

doc/api/cli.md

+7
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,13 @@ added: v6.0.0
144144

145145
Silence all process warnings (including deprecations).
146146

147+
### `--napi-modules[=yes|no]`
148+
<!-- YAML
149+
added: v8.0.0
150+
-->
151+
152+
Load N-API modules (default no).
153+
147154
### `--trace-warnings`
148155
<!-- YAML
149156
added: v6.0.0

doc/node.1

+4
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ Throw errors for deprecations.
119119
.BR \-\-no\-warnings
120120
Silence all process warnings (including deprecations).
121121

122+
.TP
123+
.BR \-\-napi\-modules \fI[=yes|no]\fR
124+
Load N-API modules (default no).
125+
122126
.TP
123127
.BR \-\-trace\-warnings
124128
Print stack traces for process warnings (including deprecations).

0 commit comments

Comments
 (0)