summaryrefslogtreecommitdiff
path: root/xmake/core/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-06-17 13:37:39 +0800
committerruki <[email protected]>2016-06-17 13:37:39 +0800
commit850db235e7ef6a9231f45c9b1f775154ec330ca5 (patch)
treea5ef0ce16dc7076d22cadfaccdabe552e55b1ec3 /xmake/core/main.lua
parent44a93238e12d1a8ca5dd732afb2513d823f7c9b8 (diff)
fix file argument conflict bug
Diffstat (limited to 'xmake/core/main.lua')
-rw-r--r--xmake/core/main.lua2
1 files changed, 1 insertions, 1 deletions
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