mirror of
https://github.com/leafo/moonscript.git
synced 2025-01-09 00:04:22 +00:00
fix moonc -
This commit is contained in:
parent
ca9ccfe430
commit
f04ae47efb
@ -26,7 +26,7 @@ if not read_stdin then
|
|||||||
parser:argument("file/directory"):args("+")
|
parser:argument("file/directory"):args("+")
|
||||||
end
|
end
|
||||||
|
|
||||||
local opts = parser:parse()
|
local opts = read_stdin and {} or parser:parse()
|
||||||
|
|
||||||
if opts.version then
|
if opts.version then
|
||||||
local v = require "moonscript.version"
|
local v = require "moonscript.version"
|
||||||
|
Loading…
Reference in New Issue
Block a user