summaryrefslogtreecommitdiff
path: root/xmake/actions/update/xmake.lua
diff options
context:
space:
mode:
authorxq114 <[email protected]>2022-02-14 23:54:30 +0800
committerxq114 <[email protected]>2022-02-14 23:54:30 +0800
commit835d889cfcf7f0335b1822f96705ceede47032d7 (patch)
tree2dfdf000d0b1b226323328fecbb08c9160dc195e /xmake/actions/update/xmake.lua
parent8c0b564b4f3cdb62680dc70b91bc39a335f5d429 (diff)
add shell utility registration
Diffstat (limited to 'xmake/actions/update/xmake.lua')
-rw-r--r--xmake/actions/update/xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/actions/update/xmake.lua b/xmake/actions/update/xmake.lua
index 2672a1c97..8c3b1f33b 100644
--- a/xmake/actions/update/xmake.lua
+++ b/xmake/actions/update/xmake.lua
@@ -40,7 +40,8 @@ task("update")
{
{nil, "uninstall", "k", nil, "Uninstall the current xmake program." }
, { }
- , {'s', "scriptonly", "k", nil, "Update script only" }
+ , {'s', "scriptonly", "k", nil, "Update scripts only." }
+ , {'i', "init", "k", nil, "Initialize xmake for shell interaction." }
, {'f', "force", "k", nil, "Force to update and reinstall the given version." }
, {nil, "xmakever", "v", nil, "The given xmake version, or a git source (and branch). ",
"e.g.",