From be10b503b29b3be5ced9607465fb309b1334026c Mon Sep 17 00:00:00 2001 From: Paul Ouellette Date: Wed, 7 Aug 2019 14:55:58 -0400 Subject: Hide --project-tree option --- src/luarocks/cmd.lua | 4 ++-- 1 file 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: parser:option("--lua-version", "Which Lua version to use.") :argname("") parser:option("--tree", "Which tree to operate on.") - parser:option("--project-tree"):description("") -- TODO - :argname("") parser:flag("--local", "Use the tree in the user's home directory.\n".. "To enable it, see '"..program.." help path'.") parser:flag("--global", "Use the system tree when `local_by_default` is `true`.") @@ -420,6 +418,8 @@ Enabling completion for Fish: :argname("") :convert(tonumber) + -- Used internally to force the use of a particular project tree + parser:option("--project-tree"):hidden(true) -- Compatibility for old names of some options parser:option("--to"):target("tree"):hidden(true) parser:option("--from"):target("server"):hidden(true) -- cgit v1.2.3-55-g6feb