mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
Merge pull request #3460 from datenreisender/correct-repl-help
Fix help for .load
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user