summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/option.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-05-13 09:40:49 +0800
committerruki <[email protected]>2015-05-13 09:40:49 +0800
commitba92342286d9fabb29c97acac4c5deed0906a25b (patch)
treec651ec1678d84498dfd6d3dbd6ba585bd4abbdde /xmake/scripts/base/option.lua
parent905e90debb2a79993b16d5761c2eced8fdfad4cc (diff)
add host option
Diffstat (limited to 'xmake/scripts/base/option.lua')
-rw-r--r--xmake/scripts/base/option.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/xmake/scripts/base/option.lua b/xmake/scripts/base/option.lua
index 3aaa788cd..60b769dd8 100644
--- a/xmake/scripts/base/option.lua
+++ b/xmake/scripts/base/option.lua
@@ -250,11 +250,6 @@ function option.init(argv, menu)
end
end
- -- dump options
--- for a, b in pairs(xmake._OPTIONS) do
--- print(a, b)
--- end
-
-- ok
return true
end
@@ -265,6 +260,7 @@ function option.print_menu(action)
-- no action? print main menu
if not action then
option.print_main()
+ return
end
-- the menu