summaryrefslogtreecommitdiff
path: root/xmake/actions/update/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-16 12:04:11 +0800
committerruki <[email protected]>2020-02-16 12:04:15 +0800
commit0b07ecdf2dc3ccf2b2d73bc2017656b396f35571 (patch)
treec3efb8c47c702fe9005b368db884f61c583399b5 /xmake/actions/update/xmake.lua
parent941da42aca3e9af717c4bd789e1c5dd0409170dd (diff)
improve to update urls
Diffstat (limited to 'xmake/actions/update/xmake.lua')
-rw-r--r--xmake/actions/update/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/actions/update/xmake.lua b/xmake/actions/update/xmake.lua
index 74dcd0ba9..2f272dd07 100644
--- a/xmake/actions/update/xmake.lua
+++ b/xmake/actions/update/xmake.lua
@@ -41,6 +41,7 @@ task("update")
{nil, "uninstall", "k", nil, "Uninstall the current xmake program." }
, { }
, {'s', "scriptonly", "k", nil, "Update script only" }
+ , {'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.",
" from official source: ",