comparison core/src/luan/cmd_line.luan @ 774:3e30cf310e56

change download to use bitbucket
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 26 Aug 2016 03:15:41 -0600
parents ca169567ce07
children
comparison
equal deleted inserted replaced
773:47add8eeb513 774:3e30cf310e56
8 local print = Io.print or error() 8 local print = Io.print or error()
9 9
10 10
11 local args = {...} 11 local args = {...}
12 if #args == 0 then 12 if #args == 0 then
13 print(Luan.VERSION) 13 print("Luan "..Luan.VERSION)
14 Io.debug("> ") 14 Io.debug("> ")
15 else 15 else
16 local file = args[1] 16 local file = args[1]
17 Luan.arg = {} 17 Luan.arg = {}
18 for j,v in ipairs(args) do 18 for j,v in ipairs(args) do