Skip to content

Commit 5ed6c5b

Browse files
committed
src: add doc
1 parent e479fb7 commit 5ed6c5b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/api/cli.md

+14
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,20 @@ They are omitted from the values.
700700
USERNAME="nodejs" # will result in `nodejs` as the value.
701701
```
702702

703+
Multi-line values are supported:
704+
705+
```text
706+
MULTI_LINE="THIS IS
707+
A MULTILINE"
708+
# will result in `THIS IS\nA MULTILINE` as the value.
709+
```
710+
711+
Export keyword before a key is ignored:
712+
713+
```text
714+
export USERNAME="nodejs" # will result in `nodejs` as the value.
715+
```
716+
703717
### `-e`, `--eval "script"`
704718

705719
<!-- YAML

0 commit comments

Comments
 (0)