Skip to content

Commit 5d4e638

Browse files
committed
doc: add changelogs for cli
PR-URL: #11489 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com>
1 parent ad1ad4d commit 5d4e638

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

doc/api/cli.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ The output of this option is less detailed than this document.
4343
### `-e`, `--eval "script"`
4444
<!-- YAML
4545
added: v0.5.2
46+
changes:
47+
- version: v5.11.0
48+
pr-url: https://github.com/nodejs/node/pull/5348
49+
description: Built-in libraries are now available as predefined variables.
4650
-->
4751

4852
Evaluate the following argument as JavaScript. The modules which are
@@ -52,14 +56,20 @@ predefined in the REPL can also be used in `script`.
5256
### `-p`, `--print "script"`
5357
<!-- YAML
5458
added: v0.6.4
59+
changes:
60+
- version: v5.11.0
61+
pr-url: https://github.com/nodejs/node/pull/5348
62+
description: Built-in libraries are now available as predefined variables.
5563
-->
5664

5765
Identical to `-e` but prints the result.
5866

5967

6068
### `-c`, `--check`
6169
<!-- YAML
62-
added: v5.0.0
70+
added:
71+
- v5.0.0
72+
- v4.2.0
6373
-->
6474

6575
Syntax check the script without executing.

0 commit comments

Comments
 (0)