From dbd69a7e7263760d592bcaf2abcde8758dd82fd1 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 28 Feb 2016 15:02:36 +0800 Subject: hide _DEFAULTS for option --- xmake/core/base/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/core/base/main.lua') 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 -- cgit v1.3.1