mirror of https://github.com/nodejs/node.git
Moved help msg to node-repl
parent
2b3d9e4ad0
commit
a650138ebf
|
@ -5,6 +5,7 @@ puts("Welcome to the Node.js REPL.");
|
|||
puts("Enter ECMAScript at the prompt.");
|
||||
puts("Tip 1: Use 'rlwrap node-repl' for a better interface");
|
||||
puts("Tip 2: Type Control-D to exit.");
|
||||
puts("Type '.help' for options.");
|
||||
|
||||
require('repl').start();
|
||||
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
|
||||
var sys = require('sys');
|
||||
|
||||
sys.puts("Type '.help' for options.");
|
||||
|
||||
|
||||
var buffered_cmd = '';
|
||||
var trimmer = /^\s*(.+)\s*$/m;
|
||||
var scopedVar = /^\s*var\s*([_\w\$]+)(.*)$/m;
|
||||
|
|
Loading…
Reference in New Issue