Skip to content

Commit

Permalink
doc: put --env-file-if-exists=config right under --env-file=config
Browse files Browse the repository at this point in the history
PR-URL: #55131
Fixes: #55129
Refs: #53060
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
geeksilva97 committed Sep 28, 2024
1 parent 1398c04 commit 18acff0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 18acff0

Please sign in to comment.