Hide --downloads and --builds options
They will become redundant once there is a way to upgrade luarocks modules, so that whole installation directory can be cached.
This commit is contained in:
parent
639fb03c4b
commit
3fe7d9d3de
@ -514,9 +514,13 @@ def main():
|
|||||||
help="Select compatibility flags for Lua.")
|
help="Select compatibility flags for Lua.")
|
||||||
parser.add_argument("--target", help="Use 'make TARGET' when building standard Lua.",
|
parser.add_argument("--target", help="Use 'make TARGET' when building standard Lua.",
|
||||||
default=get_default_lua_target())
|
default=get_default_lua_target())
|
||||||
parser.add_argument("--downloads", help="Cache downloads in 'DOWNLOADS' directory.",
|
parser.add_argument("--downloads",
|
||||||
|
# help="Cache downloads in 'DOWNLOADS' directory.",
|
||||||
|
help=argparse.SUPPRESS,
|
||||||
default=get_default_cache())
|
default=get_default_cache())
|
||||||
parser.add_argument("--builds", help="Cache Lua and LuaJIT builds in 'BUILDS' directory.",
|
parser.add_argument("--builds",
|
||||||
|
# help="Cache Lua and LuaJIT builds in 'BUILDS' directory.",
|
||||||
|
help=argparse.SUPPRESS,
|
||||||
default=None)
|
default=None)
|
||||||
parser.add_argument("--verbose", default=False, action="store_true",
|
parser.add_argument("--verbose", default=False, action="store_true",
|
||||||
help="Show executed commands and their output.")
|
help="Show executed commands and their output.")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user