summaryrefslogtreecommitdiff
path: root/xmake/core/base/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-02-24 21:09:46 +0800
committerruki <[email protected]>2016-02-24 21:09:46 +0800
commitac6323f24c35b446c1f550378c19aad9b6a6940f (patch)
treef1a8eb0939970df62c8ad12c930b911a1e352087 /xmake/core/base/main.lua
parent00958c7b39c53a7e597ff6705ae9b1e2baeece4b (diff)
show submenu for task
Diffstat (limited to 'xmake/core/base/main.lua')
-rw-r--r--xmake/core/base/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/main.lua b/xmake/core/base/main.lua
index 3e8289ba9..7d6ecb8f5 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._ACTION)
+ option.print_menu(options._TASK)
-- ok
return true
@@ -92,7 +92,7 @@ function main._done_option()
end
-- done action
- return action.done(options._ACTION or "build")
+ return action.done(options._TASK or "build")
end
-- the init function for main