summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-01-26 23:49:52 +0800
committerruki <[email protected]>2018-01-26 16:59:13 +0800
commit2d5c80e6422d2a384a88c6adb0dfa98984ba7893 (patch)
treef869c28a202e7d5b2cea0812b69b300d6d0c680b
parentb58b0d43b32aae6f084659fc80aeb048e95df71e (diff)
fix print help bug
-rw-r--r--xmake/core/base/option.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/option.lua b/xmake/core/base/option.lua
index 565866514..c4c2cbbac 100644
--- a/xmake/core/base/option.lua
+++ b/xmake/core/base/option.lua
@@ -825,7 +825,7 @@ function option.show_menu(task)
-- print title
if menu.title then
- print(menu.title)
+ print(colors.translate(menu.title))
end
-- print copyright
@@ -864,7 +864,7 @@ function option.show_main()
-- print title
if menu.title then
- print(menu.title)
+ print(colors.translate(menu.title))
end
-- print copyright