From 850db235e7ef6a9231f45c9b1f775154ec330ca5 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 17 Jun 2016 13:37:39 +0800 Subject: fix file argument conflict bug --- xmake/core/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/core/main.lua') diff --git a/xmake/core/main.lua b/xmake/core/main.lua index 4abb59c67..37017a03c 100644 --- a/xmake/core/main.lua +++ b/xmake/core/main.lua @@ -91,7 +91,7 @@ function main._init() assert(projectdir) -- init the xmake.lua file path - local projectfile = option.find(xmake._ARGV, "file", "f") or xmake._PROJECT_FILE + local projectfile = option.find(xmake._ARGV, "file", "F") or xmake._PROJECT_FILE if projectfile and not path.is_absolute(projectfile) then projectfile = path.absolute(projectfile, projectdir) end -- cgit v1.3.1