diff options
Diffstat (limited to 'xmake/core/base/main.lua')
| -rw-r--r-- | xmake/core/base/main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/main.lua b/xmake/core/base/main.lua index 4bc077ff6..e8f687e5d 100644 --- a/xmake/core/base/main.lua +++ b/xmake/core/base/main.lua @@ -56,7 +56,7 @@ function main._done_help() if options.help then -- print menu - option.print_menu(options._TASK) + option.print_menu(option.task()) -- ok return true @@ -92,7 +92,7 @@ function main._done_option() end -- done action - return action.done(options._TASK or "build") + return action.done(option.task() or "build") end -- the init function for main |
