From 710669032b71fea660b81fe526adeb98ca8161ad Mon Sep 17 00:00:00 2001 From: Zeng Jie Date: Tue, 10 Jul 2018 16:01:31 +0800 Subject: [PATCH] Allow specify Lua 5.1, 5.2 as target version --- src/CommandLineParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CommandLineParser.ts b/src/CommandLineParser.ts index 3a0a8b600..62a0b2138 100644 --- a/src/CommandLineParser.ts +++ b/src/CommandLineParser.ts @@ -31,7 +31,7 @@ const optionDeclarations: { [key: string]: yargs.Options } = { }, luaTarget: { alias: "lt", - choices: ["JIT", "5.3"], + choices: ["JIT", "5.3", "5.2", "5.1"], default: "JIT", describe: "Specify Lua target version.", type: "string",