summaryrefslogtreecommitdiff
path: root/xmake/plugins/repo/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-09-04 16:46:30 +0800
committerruki <[email protected]>2017-09-04 16:46:30 +0800
commit4fead28a91b650fd7268e708afdf4dc97935d454 (patch)
treeacbc0c9f1e34689d8b3858f76acfd87861bf2499 /xmake/plugins/repo/xmake.lua
parent08ec1c7dcab891641f6b2fb6a61c2c3b210f5f55 (diff)
add require to build and optmize ping
Diffstat (limited to 'xmake/plugins/repo/xmake.lua')
-rw-r--r--xmake/plugins/repo/xmake.lua22
1 files changed, 12 insertions, 10 deletions
diff --git a/xmake/plugins/repo/xmake.lua b/xmake/plugins/repo/xmake.lua
index dafd7ae26..cb15e87fb 100644
--- a/xmake/plugins/repo/xmake.lua
+++ b/xmake/plugins/repo/xmake.lua
@@ -42,13 +42,15 @@ task("repo")
-- options
, options =
{
- {'a', "add", "k", nil, "Add the given remote repository url." }
- , {'r', "remove", "k", nil, "Remove the given remote repository url." }
- , {'l', "list", "k", nil, "List all added repositories." }
- , {'g', "global", "k", nil, "Save repository to global. (default: local)" }
- , {'c', "clear", "k", nil, "Clear all added repositories." }
- , { }
- , {nil, "name", "v", nil, "The repository name." }
- , {nil, "url", "v", nil, "The repository url" }
- }
- }
+ {'a', "add", "k", nil, "Add the given remote repository url." }
+ , {'r', "remove", "k", nil, "Remove the given remote repository url." }
+ , {'u', "update", "k", nil, "Update all local repositories from the remote." }
+ , {'c', "clear", "k", nil, "Clear all added repositories." }
+ , { }
+ , {'l', "list", "k", nil, "List all added repositories." }
+ , {'g', "global", "k", nil, "Save repository to global. (default: local)" }
+ , { }
+ , {nil, "name", "v", nil, "The repository name." }
+ , {nil, "url", "v", nil, "The repository url" }
+ }
+ }