doc: put --env-file-if-exists=config right under --env-file=config

PR-URL: https://github.com/nodejs/node/pull/55131
Fixes: https://github.com/nodejs/node/issues/55129
Refs: https://github.com/nodejs/node/pull/53060
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Edigleysson Silva (Edy) 2024-09-27 21:01:43 -03:00 committed by GitHub
parent 1398c04c47
commit 18acff0d01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -894,6 +894,15 @@ export USERNAME="nodejs" # will result in `nodejs` as the value.
If you want to load environment variables from a file that may not exist, you
can use the [`--env-file-if-exists`][] flag instead.
### `--env-file-if-exists=config`
<!-- YAML
added: v22.9.0
-->
Behavior is the same as [`--env-file`][], but an error is not thrown if the file
does not exist.
### `-e`, `--eval "script"`
<!-- YAML
@ -1810,15 +1819,6 @@ is being linked to Node.js. Sharing the OpenSSL configuration may have unwanted
implications and it is recommended to use a configuration section specific to
Node.js which is `nodejs_conf` and is default when this option is not used.
### `--env-file-if-exists=config`
<!-- YAML
added: v22.9.0
-->
Behavior is the same as [`--env-file`][], but an error is not thrown if the file
does not exist.
### `--pending-deprecation`
<!-- YAML