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:
mpeterv 2015-11-29 12:30:08 +03:00
parent 639fb03c4b
commit 3fe7d9d3de

View File

@ -514,9 +514,13 @@ def main():
help="Select compatibility flags for Lua.")
parser.add_argument("--target", help="Use 'make TARGET' when building standard Lua.",
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())
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)
parser.add_argument("--verbose", default=False, action="store_true",
help="Show executed commands and their output.")