summaryrefslogtreecommitdiff
path: root/xmake/core/base/deprecated.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-01-02 22:56:04 +0800
committerruki <[email protected]>2019-01-02 11:36:27 +0800
commitb183f6326762e3797ad65fe81051f1e03494e331 (patch)
tree7305b48ff7d58870f70fa1e44a6ad473992936ac /xmake/core/base/deprecated.lua
parent5190a07502ec7c962f0db3a628c0b05f3877cfff (diff)
use color.error and color.warning styles
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 c041198a4..1c850ed89 100644
--- a/xmake/core/base/deprecated.lua
+++ b/xmake/core/base/deprecated.lua
@@ -61,11 +61,11 @@ function deprecated.dump()
end
-- trace
- utils.cprint("${bright yellow}deprecated: ${default yellow}please uses %s instead of %s", new, old)
+ utils.cprint("${color.warning}deprecated: ${clear}please uses %s instead of %s", new, old)
-- too much?
if index > 6 and not option.get("verbose") then
- utils.cprint("${bright yellow}deprecated: ${default yellow}add -v for getting more ..")
+ utils.cprint("${color.warning}deprecated: ${clear}add -v for getting more ..")
break
end