diff options
author | Prince J Wesley <princejohnwesley@gmail.com> | 2016-07-23 12:10:45 +0530 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2016-08-10 12:14:04 -0400 |
commit | 0645c3d0c411a8d84b2039ace3e19af081d30599 (patch) | |
tree | 460a5ec1b570c738e9f2f51227991d9e1bf582d2 | |
parent | 14a0c3181c633bdab7914984b5a6682021666576 (diff) | |
download | node-new-0645c3d0c411a8d84b2039ace3e19af081d30599.tar.gz |
doc: align breakEvalOnSigint - repl option
PR-URL: https://github.com/nodejs/node/pull/7849
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: JungMinu - Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
-rw-r--r-- | doc/api/repl.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/repl.md b/doc/api/repl.md index 124106e642..5499f4dacb 100644 --- a/doc/api/repl.md +++ b/doc/api/repl.md @@ -392,9 +392,9 @@ added: v0.1.91 equivalent to prefacing every repl statement with `'use strict'`. * `repl.REPL_MODE_MAGIC` - attempt to evaluates expressions in default mode. If expressions fail to parse, re-try in strict mode. - * `breakEvalOnSigint` - Stop evaluating the current piece of code when - `SIGINT` is received, i.e. `Ctrl+C` is pressed. This cannot be used together - with a custom `eval` function. Defaults to `false`. + * `breakEvalOnSigint` - Stop evaluating the current piece of code when + `SIGINT` is received, i.e. `Ctrl+C` is pressed. This cannot be used together + with a custom `eval` function. Defaults to `false`. The `repl.start()` method creates and starts a `repl.REPLServer` instance. |