[debugger] Fix help message

pull/22966/head
Fedor Indutny 2011-09-07 21:42:41 +07:00
parent 3b2577b4fe
commit f549f2bf1d
1 changed files with 10 additions and 11 deletions

View File

@ -567,18 +567,19 @@ Client.prototype.fullTrace = function(cb) {
var commands = [
'backtrace',
'continue',
'help',
'info breakpoints',
'run',
'restart',
'cont',
'next',
'step',
'out',
'repl',
'backtrace',
'breakpoints',
'kill',
'list',
'next',
'print',
'quit',
'run',
'scripts',
'step',
'version'
];
@ -790,9 +791,7 @@ function leftPad(n) {
// Print help message
Interface.prototype.help = function() {
this.pause();
process.stdout.write(helpMessage);
this.resume();
console.log(helpMessage);
};