summaryrefslogtreecommitdiff
path: root/doc/api/repl.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/repl.md')
-rw-r--r--doc/api/repl.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/repl.md b/doc/api/repl.md
index 75be841490..573fbb6af4 100644
--- a/doc/api/repl.md
+++ b/doc/api/repl.md
@@ -601,16 +601,16 @@ undefined
Various behaviors of the Node.js REPL can be customized using the following
environment variables:
-- `NODE_REPL_HISTORY` - When a valid path is given, persistent REPL history
+* `NODE_REPL_HISTORY` - When a valid path is given, persistent REPL history
will be saved to the specified file rather than `.node_repl_history` in the
user's home directory. Setting this value to `''` (an empty string) will
disable persistent REPL history. Whitespace will be trimmed from the value.
On Windows platforms environment variables with empty values are invalid so
set this variable to one or more spaces to disable persistent REPL history.
-- `NODE_REPL_HISTORY_SIZE` - Controls how many lines of history will be
+* `NODE_REPL_HISTORY_SIZE` - Controls how many lines of history will be
persisted if history is available. Must be a positive number.
**Default:** `1000`.
-- `NODE_REPL_MODE` - May be either `'sloppy'` or `'strict'`. **Default:**
+* `NODE_REPL_MODE` - May be either `'sloppy'` or `'strict'`. **Default:**
`'sloppy'`, which will allow non-strict mode code to be run.
### Persistent History