summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/private/action/require/info.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/action/require/info.lua b/xmake/modules/private/action/require/info.lua
index 398ed7638..d6c0146be 100644
--- a/xmake/modules/private/action/require/info.lua
+++ b/xmake/modules/private/action/require/info.lua
@@ -258,9 +258,9 @@ function main(requires_raw)
printf(configs_extra.description)
end
if configs_extra.default ~= nil then
- printf(" (default: %s", configs_extra.default)
+ printf(" (default: %s)", configs_extra.default)
elseif configs_extra.type ~= nil and configs_extra.type ~= "string" then
- printf(" (type: %s", configs_extra.type)
+ printf(" (type: %s)", configs_extra.type)
end
print("")
if configs_extra.values then