diff --git a/doc/api/cli.md b/doc/api/cli.md index 072b3b8ead55b8..ce0d79f5b1f40e 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -700,6 +700,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"`