diff --git a/doc/api/cli.md b/doc/api/cli.md index 9d8d23a78ea734b..f65a9f60a2e6690 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -655,6 +655,10 @@ of `--enable-source-maps`. Loads environment variables from a file relative to the current directory, @@ -691,6 +695,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"`