Skip to content

Commit 7186ede

Browse files
geeksilva97targos
authored andcommitted
doc: put --env-file-if-exists=config right under --env-file=config
PR-URL: #55131 Fixes: #55129 Refs: #53060 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent d7a9df6 commit 7186ede

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

doc/api/cli.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,15 @@ export USERNAME="nodejs" # will result in `nodejs` as the value.
884884
If you want to load environment variables from a file that may not exist, you
885885
can use the [`--env-file-if-exists`][] flag instead.
886886

887+
### `--env-file-if-exists=config`
888+
889+
<!-- YAML
890+
added: v22.9.0
891+
-->
892+
893+
Behavior is the same as [`--env-file`][], but an error is not thrown if the file
894+
does not exist.
895+
887896
### `-e`, `--eval "script"`
888897

889898
<!-- YAML
@@ -1792,15 +1801,6 @@ is being linked to Node.js. Sharing the OpenSSL configuration may have unwanted
17921801
implications and it is recommended to use a configuration section specific to
17931802
Node.js which is `nodejs_conf` and is default when this option is not used.
17941803

1795-
### `--env-file-if-exists=config`
1796-
1797-
<!-- YAML
1798-
added: v22.9.0
1799-
-->
1800-
1801-
Behavior is the same as [`--env-file`][], but an error is not thrown if the file
1802-
does not exist.
1803-
18041804
### `--pending-deprecation`
18051805

18061806
<!-- YAML

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy