summaryrefslogtreecommitdiff
path: root/xmake/core/base/deprecated.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-13 22:22:34 +0800
committerruki <[email protected]>2016-07-13 22:22:34 +0800
commite9d8482903f7f765e1141d6cddea67cb9a1d7288 (patch)
tree4ac792ff189a9c18efb35b32471450ecf15b2871 /xmake/core/base/deprecated.lua
parent526ddbb858b9c49589ff071442b1cefe6913b182 (diff)
print colors
Diffstat (limited to 'xmake/core/base/deprecated.lua')
-rw-r--r--xmake/core/base/deprecated.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/deprecated.lua b/xmake/core/base/deprecated.lua
index 43fe4755b..04093b730 100644
--- a/xmake/core/base/deprecated.lua
+++ b/xmake/core/base/deprecated.lua
@@ -59,11 +59,11 @@ function deprecated.dump()
end
-- trace
- utils.printf("deprecated: please uses %s instead of %s", new, old)
+ utils.cprint("${bright yellow}deprecated: ${default yellow}please uses %s instead of %s", new, old)
-- too much?
if index > 6 and not option.get("verbose") then
- utils.printf("deprecated: add -v for getting more ..")
+ utils.cprint("${bright yellow}deprecated: ${default yellow}add -v for getting more ..")
break
end