diff options
| author | ruki <[email protected]> | 2019-01-02 22:56:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-01-02 11:36:27 +0800 |
| commit | b183f6326762e3797ad65fe81051f1e03494e331 (patch) | |
| tree | 7305b48ff7d58870f70fa1e44a6ad473992936ac /xmake/modules/package | |
| parent | 5190a07502ec7c962f0db3a628c0b05f3877cfff (diff) | |
use color.error and color.warning styles
Diffstat (limited to 'xmake/modules/package')
| -rw-r--r-- | xmake/modules/package/manager/apt/install.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/package/manager/pacman/install.lua | 2 | ||||
| -rw-r--r-- | xmake/modules/package/manager/yum/install.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/package/manager/apt/install.lua b/xmake/modules/package/manager/apt/install.lua index ca65a3b95..bf5c26817 100644 --- a/xmake/modules/package/manager/apt/install.lua +++ b/xmake/modules/package/manager/apt/install.lua @@ -59,7 +59,7 @@ function main(name, opt) if confirm == nil then -- show tips - cprint("${bright yellow}note: ${default yellow}try installing %s with administrator permission?", name) + cprint("${color.warning}note: ${clear}try installing %s with administrator permission?", name) cprint("please input: y (y/n)") -- get answer diff --git a/xmake/modules/package/manager/pacman/install.lua b/xmake/modules/package/manager/pacman/install.lua index 1240d7326..31196e69d 100644 --- a/xmake/modules/package/manager/pacman/install.lua +++ b/xmake/modules/package/manager/pacman/install.lua @@ -62,7 +62,7 @@ function main(name, opt) if confirm == nil then -- show tips - cprint("${bright yellow}note: ${default yellow}try installing %s with administrator permission?", name) + cprint("${color.warning}note: ${clear}try installing %s with administrator permission?", name) cprint("please input: y (y/n)") -- get answer diff --git a/xmake/modules/package/manager/yum/install.lua b/xmake/modules/package/manager/yum/install.lua index 731d3e51f..e5b8ef551 100644 --- a/xmake/modules/package/manager/yum/install.lua +++ b/xmake/modules/package/manager/yum/install.lua @@ -62,7 +62,7 @@ function main(name, opt) if confirm == nil then -- show tips - cprint("${bright yellow}note: ${default yellow}try installing %s with administrator permission?", name) + cprint("${color.warning}note: ${clear}try installing %s with administrator permission?", name) cprint("please input: y (y/n)") -- get answer |
