Skip to content

Commit 8606604

Browse files
committed
cli: add No-Op --experimental-repl-await
Signed-off-by: Aviv Keller <me@aviv.sh> PR-URL: #64986 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 30bff4a commit 8606604

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

doc/api/cli.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3888,6 +3888,7 @@ one is included in the list below.
38883888
* `--experimental-package-map`
38893889
* `--experimental-print-required-tla`
38903890
* `--experimental-quic`
3891+
* `--experimental-repl-await`
38913892
* `--experimental-require-module`
38923893
* `--experimental-shadow-realm`
38933894
* `--experimental-specifier-resolution`

doc/node.1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2007,6 +2007,8 @@ one is included in the list below.
20072007
.It
20082008
\fB--experimental-quic\fR
20092009
.It
2010+
\fB--experimental-repl-await\fR
2011+
.It
20102012
\fB--experimental-require-module\fR
20112013
.It
20122014
\fB--experimental-shadow-realm\fR

src/node_options.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,7 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
741741
kAllowedInEnvvar,
742742
false,
743743
OptionNamespaces::kPermissionNamespace);
744+
AddOption("--experimental-repl-await", "", NoOp{}, kAllowedInEnvvar);
744745
AddOption("--experimental-vm-modules",
745746
"experimental ES Module support in vm module",
746747
BOOL_FIELD(experimental_vm_modules),

0 commit comments

Comments
 (0)