summaryrefslogtreecommitdiff
path: root/xmake/actions/build/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/actions/build/xmake.lua')
-rw-r--r--xmake/actions/build/xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/actions/build/xmake.lua b/xmake/actions/build/xmake.lua
index 5fdfe4522..8cdbb953b 100644
--- a/xmake/actions/build/xmake.lua
+++ b/xmake/actions/build/xmake.lua
@@ -27,7 +27,8 @@ task("build")
, shortname = 'b'
, options =
{
- {'b', "build", "k", nil , "Build target. This is default building mode and optional." }
+ {nil, "version", "k", nil , "Print the version number and exit." }
+ , {'b', "build", "k", nil , "Build target. This is default building mode and optional." }
, {'r', "rebuild", "k", nil , "Rebuild the target." }
, {'a', "all", "k", nil , "Build all targets." }
, {nil, "shallow", "k", nil , "Only re-build the given targets without dependencies." }