summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-03-12 22:34:53 +0800
committerruki <[email protected]>2023-03-12 22:34:53 +0800
commit07eb2d3bd5763c0e6893ae0f81a9068aba7a10da (patch)
tree5fd7f1f4b074de29ebd0d023e1a65b3541864425
parentbe52b7f2f45bbe1ededf1447cfd25fb22e09cf95 (diff)
improve help
-rw-r--r--xmake/modules/private/xrepo/action/env.lua13
1 files changed, 6 insertions, 7 deletions
diff --git a/xmake/modules/private/xrepo/action/env.lua b/xmake/modules/private/xrepo/action/env.lua
index c5033da07..859a6d95c 100644
--- a/xmake/modules/private/xrepo/action/env.lua
+++ b/xmake/modules/private/xrepo/action/env.lua
@@ -64,12 +64,11 @@ function menu_options()
" - xrepo env --list"},
{'b', "bind", "kv", nil, "Bind the specified environment or package.",
"e.g.",
- " - xrepo env -b base",
- " - xrepo env -b myenv",
- " - xrepo env -b \"python 3.x\" python",
- " - xrepo env -b \"llvm 11.x\" bash",
- " $ clang --version",
- " - xrepo env -p android -b \"zlib,luajit 2.x\" luajit xx.lua"},
+ " - xrepo env -b base shell",
+ " - xrepo env -b myenv shell",
+ " - xrepo env -b \"python 3.x\" shell",
+ " - xrepo env -b \"cmake,ninja,python 3.x\" shell",
+ " - xrepo env -b \"luajit 2.x\" luajit xx.lua"},
{},
{nil, "program", "v", nil, "Set the program name to be run.",
"e.g.",
@@ -77,7 +76,7 @@ function menu_options()
" - xrepo env bash",
" - xrepo env shell (it will load bash/sh/cmd automatically)",
" - xrepo env python",
- " - xrepo env -p android luajit xx.lua"},
+ " - xrepo env luajit xx.lua"},
{nil, "arguments", "vs", nil, "Set the program arguments to be run"}
}