Skip to content

Commit 3955bc4

Browse files
Trottrvagg
authored andcommitted
doc: fix minor inconsistencies in repl doc
PR-URL: #5193 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 356acb3 commit 3955bc4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/repl.markdown

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

@@ -291,7 +291,7 @@ You can use your own `eval` function if it has following signature:
291291
callback(null, result);
292292
}
293293

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

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

0 commit comments

Comments
 (0)