Skip to content

Commit ade9620

Browse files
Merge pull request jashkenas#3460 from datenreisender/correct-repl-help
Fix help for .load
2 parents e02c8ab + 3fdc3a4 commit ade9620

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/coffee-script/repl.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/repl.coffee

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

0 commit comments

Comments
 (0)