Merge pull request #3460 from datenreisender/correct-repl-help

Fix help for .load
This commit is contained in:
Michael Ficarra
2014-05-01 07:48:58 -07:00
2 changed files with 3 additions and 0 deletions

View File

@@ -156,6 +156,7 @@
if (opts.historyFile) {
addHistory(repl, opts.historyFile, opts.historyMaxInputSize);
}
repl.commands['.load'].help = 'Load code from a file into this REPL session';
return repl;
}
};

View File

@@ -138,4 +138,6 @@ module.exports =
repl.on 'exit', -> repl.outputStream.write '\n'
addMultilineHandler repl
addHistory repl, opts.historyFile, opts.historyMaxInputSize if opts.historyFile
# Correct the description inherited from the node REPL
repl.commands['.load'].help = 'Load code from a file into this REPL session'
repl