summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-06-19 23:10:41 +0800
committerGitHub <[email protected]>2023-06-19 23:10:41 +0800
commitb1412a18df8f507db138bbe8bfb1ec44d3b5c62c (patch)
tree6a5ed444972fddc6d23edac4dd3bc78bc776c34f
parent58cb31c6d3de8360c51139fbf62ff17557e18bed (diff)
parent1da254a882e47d851d5d5a5d568a6f0da10b1b6b (diff)
Merge pull request #3866 from heheda123123/patch-4
update info.lua
-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