diff --git a/doc/api/cli.md b/doc/api/cli.md index b982b94f07306b..1e804ddd4e31a0 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -664,6 +664,10 @@ of `--enable-source-maps`. Loads environment variables from a file relative to the current directory, @@ -700,6 +704,20 @@ They are omitted from the values. USERNAME="nodejs" # will result in `nodejs` as the value. ``` +Multi-line values are supported: + +```text +MULTI_LINE="THIS IS +A MULTILINE" +# will result in `THIS IS\nA MULTILINE` as the value. +``` + +Export keyword before a key is ignored: + +```text +export USERNAME="nodejs" # will result in `nodejs` as the value. +``` + ### `-e`, `--eval "script"`