summaryrefslogtreecommitdiff
path: root/xmake/actions/require/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-03-21 21:02:13 +0800
committerruki <[email protected]>2019-03-21 00:13:18 +0800
commit858ac89b6ade76ea04701bbd6a610a9abe9a0638 (patch)
treeb41ca0dd6d7c254aeec995f97c591d87b05249d5 /xmake/actions/require/xmake.lua
parent00bbf677845e44ff3def527d7c5e538e02d11d1e (diff)
improve to clean and scan packages
Diffstat (limited to 'xmake/actions/require/xmake.lua')
-rw-r--r--xmake/actions/require/xmake.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/xmake/actions/require/xmake.lua b/xmake/actions/require/xmake.lua
index 85c84af2d..87cea29bc 100644
--- a/xmake/actions/require/xmake.lua
+++ b/xmake/actions/require/xmake.lua
@@ -45,7 +45,10 @@ task("require")
-- options
, options =
{
- {'c', "clean", "k", nil, "Clear all package caches and uninstall all not-referenced packages." }
+ {'c', "clean", "k", nil, "Clear all package caches and uninstall all not-referenced packages.",
+ "e.g.",
+ " $ xmake require --clean",
+ " $ xmake require --clean zlib tbox pcr*" }
, {'f', "force", "k", nil, "Force to reinstall all package dependencies." }
, {'l', "list", "k", nil, "List all package dependencies in project.",
"e.g.",
@@ -53,7 +56,7 @@ task("require")
, {nil, "scan", "k", nil, "Scan the given or all installed packages.",
"e.g.",
" $ xmake require --scan",
- " $ xmake require --scan zlib tbox" }
+ " $ xmake require --scan zlib tbox pcr*" }
, { }
, {nil, "info", "k", nil, "Show the given package info.",
"e.g.",