Mercurial Hosting > luan
diff core/src/luan/cmd_line.luan @ 251:705d14f4d8ee
start web testing
git-svn-id: https://luan-java.googlecode.com/svn/trunk@252 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Sun, 19 Oct 2014 03:38:47 +0000 |
parents | 27abb3746917 |
children | f1f7d8c7e94e |
line wrap: on
line diff
--- a/core/src/luan/cmd_line.luan Fri Oct 17 02:17:46 2014 +0000 +++ b/core/src/luan/cmd_line.luan Sun Oct 19 03:38:47 2014 +0000 @@ -1,5 +1,6 @@ import "String" import "Table" +import "Io" local standalone_usage = [=[ @@ -69,7 +70,7 @@ local main_file = load_file(file) main_file( Table.unpack(_G.arg) ) catch e do - print(e) + Io.print_to(Io.stderr, e ) end end if interactive then