Moved help msg to node-repl

pull/5370/head
visionmedia 2010-01-04 08:10:53 -08:00 committed by Ryan Dahl
parent 2b3d9e4ad0
commit a650138ebf
2 changed files with 1 additions and 3 deletions

View File

@ -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();

View File

@ -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;