Skip to content

Commit

Permalink
bared the default REPL (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
satyr committed Apr 27, 2013
1 parent cb8c732 commit e822e8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ default:
break;
case !require('tty').isatty(0):
say(version() + '\n' + help() + '\n');
o.bare = true;
repl();
break;
default:
Expand Down
1 change: 1 addition & 0 deletions src/command.co
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ default
compileScripts!
case require \tty .isatty 0
say version! + \\n + help! + \\n
o.bare = true
repl!
default
compileStdin!
Expand Down

0 comments on commit e822e8c

Please sign in to comment.