From 5ed6c5be5157da36fb833fe52c152b7a318d7c4e Mon Sep 17 00:00:00 2001 From: Ilyas Shabi Date: Sun, 7 Jan 2024 19:23:50 +0100 Subject: [PATCH] src: add doc --- doc/api/cli.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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"`