diff options
| author | ruki <[email protected]> | 2016-06-17 13:37:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-06-17 13:37:39 +0800 |
| commit | 850db235e7ef6a9231f45c9b1f775154ec330ca5 (patch) | |
| tree | a5ef0ce16dc7076d22cadfaccdabe552e55b1ec3 /xmake/core/main.lua | |
| parent | 44a93238e12d1a8ca5dd732afb2513d823f7c9b8 (diff) | |
fix file argument conflict bug
Diffstat (limited to 'xmake/core/main.lua')
| -rw-r--r-- | xmake/core/main.lua | 2 |
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 |
