Skip to content

Commit

Permalink
Delete flags which can't be used with tarantoolctl rocks
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonidVas committed Apr 9, 2020
1 parent 8e8db7f commit 1b51b2f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions src/luarocks/cmd/help.lua
Expand Up @@ -62,12 +62,7 @@ function help.command(description, commands, command)
(overrides any entries in the config file)
--only-sources=<url> Restrict downloads to paths matching the
given URL.
--lua-dir=<prefix> Which Lua installation to use.
--lua-version=<ver> Which Lua version to use.
--tree=<tree> Which tree to operate on.
--local Use the tree in the user's home directory.
To enable it, see ']]..program..[[ help path'.
--global Use the system tree when `local_by_default` is `true`.
--verbose Display verbose output of commands executed.
--timeout=<seconds> Timeout on network operations, in seconds.
0 means no timeout (wait forever).
Expand Down
4 changes: 0 additions & 4 deletions src/luarocks/util.lua
Expand Up @@ -101,7 +101,6 @@ local supported_flags = {
["force"] = true,
["force-fast"] = true,
["from"] = "<server>",
["global"] = true,
["help"] = true,
["home"] = true,
["homepage"] = "\"<url>\"",
Expand All @@ -113,14 +112,11 @@ local supported_flags = {
["lib"] = "<library>",
["license"] = "\"<text>\"",
["list"] = true,
["local"] = true,
["local-tree"] = true,
["lr-bin"] = true,
["lr-cpath"] = true,
["lr-path"] = true,
["lua-dir"] = "<path>",
["lua-version"] = "<vers>",
["lua-versions"] = "<versions>",
["lua-ver"] = true,
["lua-incdir"] = true,
["lua-libdir"] = true,
Expand Down

0 comments on commit 1b51b2f

Please sign in to comment.