summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/private/action/require/info.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/private/action/require/info.lua b/xmake/modules/private/action/require/info.lua
index d880ab9e5..fb6414a17 100644
--- a/xmake/modules/private/action/require/info.lua
+++ b/xmake/modules/private/action/require/info.lua
@@ -255,14 +255,14 @@ function main(requires_raw)
printf(configs_extra.description)
end
if configs_extra.default ~= nil then
- io.write(" (default: %s", configs_extra.default)
+ printf(" (default: %s", configs_extra.default)
elseif configs_extra.type ~= nil and configs_extra.type ~= "string" then
- io.write(" (type: %s", configs_extra.type)
+ printf(" (type: %s", configs_extra.type)
end
if configs_extra.readonly ~= nil then
- io.write(", readonly)")
+ printf(", readonly)")
else
- io.write(")")
+ printf(")")
end
print("")
if configs_extra.values then