From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id ECA66469719 for ; Mon, 16 Mar 2020 14:50:39 +0300 (MSK) From: Leonid Vasiliev Date: Mon, 16 Mar 2020 14:50:33 +0300 Message-Id: <89247698259e0863d662c63df0abefbf31e2fcfe.1584358124.git.lvasiliev@tarantool.org> In-Reply-To: References: In-Reply-To: References: Subject: [Tarantool-patches] [PATCH v2 2/2] luarocks: Add a kludge for option force of luarocks remove List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: v.shpilevoy@tarantool.org Cc: tarantool-patches@dev.tarantool.org From: Leonid Fixed the tarantoolctl rocks remove flag --force Forwarding of the --force flag to tarantoolctl rocks module was added. (Command: tarantoolctl rocks remove --force) Fixes: #3632 --- extra/dist/tarantoolctl.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extra/dist/tarantoolctl.in b/extra/dist/tarantoolctl.in index 372838edd..c6c3ecb8f 100755 --- a/extra/dist/tarantoolctl.in +++ b/extra/dist/tarantoolctl.in @@ -950,6 +950,10 @@ local function rocks() table.insert(positional_arguments, "--all") end + if positional_arguments[1] == "remove" and find_arg("force") then + table.insert(positional_arguments, "--force") + end + -- Tweak help messages util.see_help = function(command, program) -- TODO: print extended help message here @@ -1406,6 +1410,7 @@ local function populate_arguments() { 'server', 'string' }, { 'language', 'string' }, { 'all', 'boolean' }, + { 'force', 'boolean' }, }) local cmd_name -- 2.17.1