summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/actions/install/main.lua2
-rw-r--r--xmake/actions/run/main.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/actions/install/main.lua b/xmake/actions/install/main.lua
index 614678cf7..2504f3338 100644
--- a/xmake/actions/install/main.lua
+++ b/xmake/actions/install/main.lua
@@ -57,7 +57,7 @@ function _check_targets(targetname)
-- there are targets that have not yet been built?
if #targetnames > 0 then
- raise("please run `$xmake [target]` to build the following targets first:\n -> " .. table.concat(targetnames, '\n -> '))
+ raise("please run `$xmake build [target]` to build the following targets first:\n -> " .. table.concat(targetnames, '\n -> '))
end
end
diff --git a/xmake/actions/run/main.lua b/xmake/actions/run/main.lua
index 61c5b02ea..153011b73 100644
--- a/xmake/actions/run/main.lua
+++ b/xmake/actions/run/main.lua
@@ -175,7 +175,7 @@ function _check_targets(targetname, group_pattern)
-- there are targets that have not yet been built?
if #targetnames > 0 then
- raise("please run `$xmake [target]` to build the following targets first:\n -> " .. table.concat(targetnames, '\n -> '))
+ raise("please run `$xmake build [target]` to build the following targets first:\n -> " .. table.concat(targetnames, '\n -> '))
end
end