node/doc/api
cjihrig ee7754be47 repl: accept no arguments to start()
Currently, there is a check to ensure that the user either
provides an object or a string to repl.start(). The string case
is used to set a REPL prompt. However, a default of '> ' already
exists, so forcing the user to specify a prompt is a bit
redundant. This commit removes this restriction.

Fixes: https://github.com/nodejs/node/issues/5385
PR-URL: https://github.com/nodejs/node/pull/5388
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Julian Duque <julianduquej@gmail.com>
2016-02-25 08:48:43 -05:00
..
_toc.markdown deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
addons.markdown doc: fix links in Addons docs 2016-02-04 10:14:46 -08:00
all.markdown deps: update v8 to 4.4.63.9 2015-08-04 11:56:14 -07:00
assert.markdown doc: mention prototype check in deepStrictEqual() 2016-02-23 09:17:11 -05:00
buffer.markdown doc: fix buf.length slice example 2016-02-18 03:17:44 +01:00
child_process.markdown child_process: add keepOpen option to send() 2016-02-22 11:55:30 -05:00
cluster.markdown cluster: emit worker as first 'message' event arg 2016-02-25 12:46:37 +01:00
console.markdown doc: improvements to console.markdown copy 2016-02-17 23:51:30 +01:00
crypto.markdown doc: fix template string 2016-02-18 03:01:47 +01:00
debugger.markdown doc: replace function expressions with arrows 2016-01-27 23:00:20 +01:00
dgram.markdown doc: fix type references for link gen, link css 2016-02-09 13:12:21 +01:00
dns.markdown dns: add resolvePtr to query plain DNS PTR records 2016-02-08 17:30:38 +01:00
documentation.markdown doc: standardize references to node.js in docs 2015-12-03 12:28:10 -08:00
domain.markdown doc: fix type references for link gen, link css 2016-02-09 13:12:21 +01:00
errors.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
events.markdown doc: replace function expressions with arrows 2016-01-27 23:00:20 +01:00
fs.markdown doc: document fs.datasync(Sync) 2016-02-25 12:50:59 +01:00
globals.markdown doc: proper markdown escaping -> \_\_, \*, \_ 2016-01-22 21:32:50 -08:00
http.markdown doc: add simple http clientError example 2016-02-17 08:31:19 -08:00
https.markdown doc: minor improvement to HTTPS doc 2016-02-01 09:14:42 -08:00
index.markdown Remove util.print from docs 2010-11-07 17:22:56 -08:00
modules.markdown doc: fix type references for link gen, link css 2016-02-09 13:12:21 +01:00
net.markdown doc: clarify error handling in net.createServer 2016-02-25 05:57:14 -06:00
os.markdown doc: minor improvement in OS docs 2016-02-04 19:25:07 +01:00
path.markdown doc: proper markdown escaping -> \_\_, \*, \_ 2016-01-22 21:32:50 -08:00
process.markdown child_process: support options in send() 2016-02-22 11:53:38 -05:00
punycode.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
querystring.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
readline.markdown doc: don't use "interface" as a variable name 2016-01-30 00:33:14 +01:00
repl.markdown repl: accept no arguments to start() 2016-02-25 08:48:43 -05:00
stream.markdown doc: fix type references for link gen, link css 2016-02-09 13:12:21 +01:00
string_decoder.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
synopsis.markdown doc: harmonize $ node command line notation 2016-01-22 19:57:19 +01:00
timers.markdown timers: fail early when callback is not a function 2016-01-04 14:56:19 +11:00
tls.markdown doc: fix inconsistent styling 2016-02-04 10:11:07 -08:00
tty.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
url.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
util.markdown doc: note util.isError() @@toStringTag limitations 2016-02-25 08:37:37 -05:00
v8.markdown doc: fenced all code blocks, typo fixes 2016-01-21 20:55:09 +01:00
vm.markdown vm: fix produceCachedData 2016-02-21 14:59:35 -05:00
zlib.markdown doc: replace function expressions with arrows 2016-01-27 23:00:20 +01:00