summaryrefslogtreecommitdiff
path: root/xmake/modules/private/detect/find_platform.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/private/detect/find_platform.lua')
-rw-r--r--xmake/modules/private/detect/find_platform.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/private/detect/find_platform.lua b/xmake/modules/private/detect/find_platform.lua
index a18849b82..26a09cc0e 100644
--- a/xmake/modules/private/detect/find_platform.lua
+++ b/xmake/modules/private/detect/find_platform.lua
@@ -110,9 +110,9 @@ end
-- find default platform and architecture
--
--- @param opt the argument options, e.g. {plat = "", arch = "", global = true}
+-- @param opt the argument options, e.g. {plat = "", arch = "", global = true}
--
--- @return {plat = "", arch = ""}
+-- @return plat, arch
--
-- @code
--
@@ -142,5 +142,5 @@ function main(opt)
cprint("checking for architecture ... ${color.success}%s", plat)
end
end
- return {plat = plat, arch = arch}
+ return plat, arch
end