summaryrefslogtreecommitdiff
path: root/xmake/core/tool/tool.lua
diff options
context:
space:
mode:
authorOpportunityLiu <[email protected]>2019-07-24 10:42:55 +0800
committerOpportunityLiu <[email protected]>2019-07-24 10:42:55 +0800
commitb1a47544b8f60c12541b8b5a0f4383639d348af3 (patch)
treeea52bf2d354a9d04405ef1fadf1d45b82f5a90af /xmake/core/tool/tool.lua
parentae7d6509749944564b939bd36cf6ab895dcff0af (diff)
fix typo
Diffstat (limited to 'xmake/core/tool/tool.lua')
-rw-r--r--xmake/core/tool/tool.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/tool/tool.lua b/xmake/core/tool/tool.lua
index 43284c58c..a5a12322a 100644
--- a/xmake/core/tool/tool.lua
+++ b/xmake/core/tool/tool.lua
@@ -129,8 +129,8 @@ end
-- load the given tool from the given kind
--
--- @param kind the tool kind .e.g cc, cxx, mm, mxx, as, ar, ld, sh, ..
--- @param program the tool program, .e.g /xxx/arm-linux-gcc, [email protected]
+-- @param kind the tool kind e.g. cc, cxx, mm, mxx, as, ar, ld, sh, ..
+-- @param program the tool program, e.g. /xxx/arm-linux-gcc, [email protected]
--
function tool.load(kind, program)
@@ -143,7 +143,7 @@ function tool.load(kind, program)
return tool._TOOLS[key]
end
- -- contain toolname? parse it, .e.g '[email protected]'
+ -- contain toolname? parse it, e.g. '[email protected]'
local toolname = nil
if program then
local pos = program:find('@', 1, true)