From cfdac0d58e2977eabb0bb9210bd2f888ee87ba8b Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 24 Nov 2018 23:10:40 +0800 Subject: improve install tips --- xmake/actions/require/impl/package.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/actions/require/impl/package.lua') diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua index a94d10bae..98e30cc03 100644 --- a/xmake/actions/require/impl/package.lua +++ b/xmake/actions/require/impl/package.lua @@ -336,7 +336,7 @@ function _get_confirm(packages) -- show tips cprint("${bright yellow}note: ${default yellow}try installing these packages (pass -y to skip confirm)?") for _, package in ipairs(packages) do - print(" -> %s %s", package:name(), package:version_str() or "") + print(" -> %s %s %s", package:name(), package:version_str() or "", package:debug() and "(debug)" or "") end cprint("please input: y (y/n)") -- cgit v1.3.1