summaryrefslogtreecommitdiff
path: root/doc/api/repl.md
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2018-04-18 08:50:35 -0700
committerTimothy Gu <timothygu99@gmail.com>2018-04-18 14:12:39 -0700
commitceab78f9d8738b0a0036aeb59fe973459cf529b2 (patch)
treef45aa5501ed8b27f1b35f9eafaed33f97da5d471 /doc/api/repl.md
parent52491529ba940faa6d69b20bb5fe89ae3b3e137c (diff)
downloadandroid-node-v8-ceab78f9d8738b0a0036aeb59fe973459cf529b2.tar.gz
android-node-v8-ceab78f9d8738b0a0036aeb59fe973459cf529b2.tar.bz2
android-node-v8-ceab78f9d8738b0a0036aeb59fe973459cf529b2.zip
doc: fully document --experimental-repl-await
PR-URL: https://github.com/nodejs/node/pull/20133 Fixes: https://github.com/nodejs/node/pull/19604#issuecomment-382427090 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/repl.md')
-rw-r--r--doc/api/repl.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/repl.md b/doc/api/repl.md
index 3a5134d1e2..46cac0df3e 100644
--- a/doc/api/repl.md
+++ b/doc/api/repl.md
@@ -181,7 +181,7 @@ Error: foo
#### `await` keyword
-With the `--experimental-repl-await` command line option specified,
+With the [`--experimental-repl-await`][] command line option specified,
experimental support for the `await` keyword is enabled.
<!-- eslint-skip -->
@@ -612,6 +612,7 @@ a `net.Server` and `net.Socket` instance, see: https://gist.github.com/2209310
For an example of running a REPL instance over [curl(1)][],
see: https://gist.github.com/2053342
+[`--experimental-repl-await`]: cli.html#cli_experimental_repl_await
[`readline.InterfaceCompleter`]: readline.html#readline_use_of_the_completer_function
[`readline.Interface`]: readline.html#readline_class_interface
[`util.inspect()`]: util.html#util_util_inspect_object_options