summaryrefslogtreecommitdiff
path: root/xmake/actions/build/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-02-17 00:42:17 +0800
committerruki <[email protected]>2024-02-17 00:42:17 +0800
commite073f2f372af559099e5f2b7013ff938f113a00a (patch)
tree404920cd7b7273f0291653016554bf06b1a7624a /xmake/actions/build/xmake.lua
parent963f544355305376c66e8fc9a98af19396c2a4a5 (diff)
move --version argument #4741
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." }