From 3fe7d9d3def3ce57d84e735d9a8ed47e7769beb8 Mon Sep 17 00:00:00 2001 From: mpeterv Date: Sun, 29 Nov 2015 12:30:08 +0300 Subject: [PATCH] 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. --- hererocks.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hererocks.py b/hererocks.py index 7cbf386..d2ab373 100755 --- a/hererocks.py +++ b/hererocks.py @@ -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.")