summaryrefslogtreecommitdiff
path: root/xmake/core/sandbox/modules/utils.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-11-04 22:20:13 +0800
committerruki <[email protected]>2018-11-04 22:20:13 +0800
commitd3d05b0c620dbfc318d4c693bc2fb7b556d51d3c (patch)
treea91579ba8362498e531c01081d8fe80906da142d /xmake/core/sandbox/modules/utils.lua
parent9d22026291016915298cd4cf8b004bef4b6faaec (diff)
improve diagnosis info
Diffstat (limited to 'xmake/core/sandbox/modules/utils.lua')
-rw-r--r--xmake/core/sandbox/modules/utils.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/sandbox/modules/utils.lua b/xmake/core/sandbox/modules/utils.lua
index 5e3ae6113..3516c7990 100644
--- a/xmake/core/sandbox/modules/utils.lua
+++ b/xmake/core/sandbox/modules/utils.lua
@@ -143,14 +143,14 @@ function sandbox_utils.cprintf(format, ...)
end
end
--- print() if enable verbose
+-- print the verbose information
function sandbox_utils.vprint(format, ...)
if option.get("verbose") then
sandbox_utils.print(format, ...)
end
end
--- vprintf() if enable verbose
+-- print the verbose information without newline
function sandbox_utils.vprintf(format, ...)
if option.get("verbose") then
sandbox_utils.printf(format, ...)