summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-01-14 22:48:01 +0800
committerruki <[email protected]>2026-01-14 22:48:01 +0800
commit00674169af6ae8b5eeb1d0d95c24a1571130fd9d (patch)
treeb1302b6cc7fb8962733c3279b2530c30838278a1
parent0569f75900e97a721cc7acbff3e9738095743d8c (diff)
update some help menus
-rw-r--r--xmake/actions/package/xmake.lua2
-rw-r--r--xmake/actions/uninstall/xmake.lua2
-rw-r--r--xmake/plugins/macro/macros/package.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/package/xmake.lua b/xmake/actions/package/xmake.lua
index 283edc815..13fdbd667 100644
--- a/xmake/actions/package/xmake.lua
+++ b/xmake/actions/package/xmake.lua
@@ -30,7 +30,7 @@ task("package")
{'a', "all", "k", nil, "Package all targets."},
{},
{'f', "format", "kv", "local", "Set the package format.",
- values = {"oldpkg", "local", "remote"}},
+ values = {"localpkg", "local", "remote"}},
{nil, "homepage", "kv", nil, "Set the homepage of package."},
{nil, "description","kv", nil, "Set the description of package."},
{nil, "url", "kv", nil, "Set the url of remote package."},
diff --git a/xmake/actions/uninstall/xmake.lua b/xmake/actions/uninstall/xmake.lua
index 574c6ce0d..22f5e712a 100644
--- a/xmake/actions/uninstall/xmake.lua
+++ b/xmake/actions/uninstall/xmake.lua
@@ -28,7 +28,7 @@ task("uninstall")
options = {
{nil, "installdir", "kv", nil , "Set the install directory.",
"e.g.",
- " $ xmake uninstall -o /usr/local",
+ " $ xmake uninstall --installdir=/usr/local",
"or $ DESTDIR=/usr/local xmake uninstall",
"or $ INSTALLDIR=/usr/local xmake uninstall" },
{'g', "group", "kv", nil , "Uninstall all targets of the given group. It support path pattern matching.",
diff --git a/xmake/plugins/macro/macros/package.lua b/xmake/plugins/macro/macros/package.lua
index 8f171f4ec..7954ce850 100644
--- a/xmake/plugins/macro/macros/package.lua
+++ b/xmake/plugins/macro/macros/package.lua
@@ -65,7 +65,7 @@ function main(argv)
table.insert(argv, "-D")
end
os.execv(os.programfile(), argv)
- argv = {"p", "-f", "oldpkg"}
+ argv = {"p", "-f", "localpkg"}
if args.outputdir then
table.insert(argv, "-o")
table.insert(argv, args.outputdir)