Skip to content

Commit e1713e8

Browse files
TrottMyles Borins
authored andcommitted
doc: fix minor inconsistencies in repl doc
PR-URL: #5193 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 9804987 commit e1713e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/repl.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ via the following environment variables:
3838
will be saved to the specified file rather than `.node_repl_history` in the
3939
user's home directory. Setting this value to `""` will disable persistent
4040
REPL history. Whitespace will be trimmed from the value.
41-
- `NODE_REPL_HISTORY_SIZE` - defaults to `1000`. Controls how many lines of
41+
- `NODE_REPL_HISTORY_SIZE` - Defaults to `1000`. Controls how many lines of
4242
history will be persisted if history is available. Must be a positive number.
43-
- `NODE_REPL_MODE` - may be any of `sloppy`, `strict`, or `magic`. Defaults
43+
- `NODE_REPL_MODE` - May be any of `sloppy`, `strict`, or `magic`. Defaults
4444
to `magic`, which will automatically run "strict mode only" statements in
4545
strict mode.
4646

@@ -269,7 +269,7 @@ You can use your own `eval` function if it has following signature:
269269
callback(null, result);
270270
}
271271

272-
On tab completion - `eval` will be called with `.scope` as an input string. It
272+
On tab completion, `eval` will be called with `.scope` as an input string. It
273273
is expected to return an array of scope names to be used for the auto-completion.
274274

275275
Multiple REPLs may be started against the same running instance of Node.js. Each

0 commit comments

Comments
 (0)