diff --git a/doc/api/cli.md b/doc/api/cli.md index 840585765e7fa6..5ba337276597b9 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -666,6 +666,10 @@ of `--enable-source-maps`. Loads environment variables from a file relative to the current directory, @@ -702,6 +706,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"`