diff options
| author | Paul Ouellette <oue.paul18@gmail.com> | 2019-08-07 14:55:58 -0400 |
|---|---|---|
| committer | Paul Ouellette <oue.paul18@gmail.com> | 2019-08-17 00:55:35 -0400 |
| commit | be10b503b29b3be5ced9607465fb309b1334026c (patch) | |
| tree | ff504f91121dbece0ab8cb6fe4598784f2c2d6c2 /src | |
| parent | cdda7a8b924fd73682183ee8b29215e703bbb52f (diff) | |
| download | luarocks-be10b503b29b3be5ced9607465fb309b1334026c.tar.gz luarocks-be10b503b29b3be5ced9607465fb309b1334026c.tar.bz2 luarocks-be10b503b29b3be5ced9607465fb309b1334026c.zip | |
Hide --project-tree option
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/cmd.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/cmd.lua b/src/luarocks/cmd.lua index 0bbb9715..df52c92e 100644 --- a/src/luarocks/cmd.lua +++ b/src/luarocks/cmd.lua | |||
| @@ -408,8 +408,6 @@ Enabling completion for Fish: | |||
| 408 | parser:option("--lua-version", "Which Lua version to use.") | 408 | parser:option("--lua-version", "Which Lua version to use.") |
| 409 | :argname("<ver>") | 409 | :argname("<ver>") |
| 410 | parser:option("--tree", "Which tree to operate on.") | 410 | parser:option("--tree", "Which tree to operate on.") |
| 411 | parser:option("--project-tree"):description("") -- TODO | ||
| 412 | :argname("<tree>") | ||
| 413 | parser:flag("--local", "Use the tree in the user's home directory.\n".. | 411 | parser:flag("--local", "Use the tree in the user's home directory.\n".. |
| 414 | "To enable it, see '"..program.." help path'.") | 412 | "To enable it, see '"..program.." help path'.") |
| 415 | parser:flag("--global", "Use the system tree when `local_by_default` is `true`.") | 413 | parser:flag("--global", "Use the system tree when `local_by_default` is `true`.") |
| @@ -420,6 +418,8 @@ Enabling completion for Fish: | |||
| 420 | :argname("<seconds>") | 418 | :argname("<seconds>") |
| 421 | :convert(tonumber) | 419 | :convert(tonumber) |
| 422 | 420 | ||
| 421 | -- Used internally to force the use of a particular project tree | ||
| 422 | parser:option("--project-tree"):hidden(true) | ||
| 423 | -- Compatibility for old names of some options | 423 | -- Compatibility for old names of some options |
| 424 | parser:option("--to"):target("tree"):hidden(true) | 424 | parser:option("--to"):target("tree"):hidden(true) |
| 425 | parser:option("--from"):target("server"):hidden(true) | 425 | parser:option("--from"):target("server"):hidden(true) |
