Skip to content

Commit f6e688c

Browse files
committed
doc: regenerate man page for env-file options
Synchronize the generated man page with the CLI documentation for --env-file and --env-file-if-exists in NODE_OPTIONS Signed-off-by: akasakariko <Kayano04@outlook.jp> Assisted-by: pi
1 parent 5b6bd83 commit f6e688c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎doc/node.1‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,8 @@ variables which configure Node.js, such as \fBNODE_OPTIONS\fR,
796796
are parsed and applied. If the same variable is defined in the environment and
797797
in the file, the value from the environment takes precedence.
798798
You can pass multiple \fB--env-file\fR arguments. Subsequent files override
799-
pre-existing variables defined in previous files.
799+
pre-existing variables defined in previous files. Files specified in
800+
\fBNODE_OPTIONS\fR are loaded before files specified on the command line.
800801
An error is thrown if the file does not exist.
801802
.Bd -literal
802803
node --env-file=.env --env-file=.development.env index.js
@@ -2219,6 +2220,10 @@ one is included in the list below.
22192220
.It
22202221
\fB--entry-url\fR
22212222
.It
2223+
\fB--env-file-if-exists\fR
2224+
.It
2225+
\fB--env-file\fR
2226+
.It
22222227
\fB--experimental-abortcontroller\fR
22232228
.It
22242229
\fB--experimental-addon-modules\fR

0 commit comments

Comments
 (0)