Tarantool development patches archive
 help / color / mirror / Atom feed
From: Leonid Vasiliev <lvasiliev@tarantool.org>
To: v.shpilevoy@tarantool.org
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v2 2/2] luarocks: Add a kludge for option force of luarocks remove
Date: Mon, 16 Mar 2020 14:50:33 +0300	[thread overview]
Message-ID: <89247698259e0863d662c63df0abefbf31e2fcfe.1584358124.git.lvasiliev@tarantool.org> (raw)
In-Reply-To: <cover.1584358124.git.lvasiliev@tarantool.org>
In-Reply-To: <cover.1584358124.git.lvasiliev@tarantool.org>

From: Leonid <lvasiliev@tarantool.org>

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

  parent reply	other threads:[~2020-03-16 11:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-16 11:50 [Tarantool-patches] [PATCH v2 0/2] Fix some options of rocks module Leonid Vasiliev
2020-03-16 11:50 ` [Tarantool-patches] [PATCH v2 1/2] luarocks: Add a kludge for option all of luarocks search Leonid Vasiliev
2020-03-16 12:01   ` Leonid Vasiliev
2020-03-31 23:21   ` Igor Munkin
2020-04-01 10:00     ` lvasiliev
2020-04-02 15:50       ` lvasiliev
2020-03-16 11:50 ` Leonid Vasiliev [this message]
2020-03-31 23:21   ` [Tarantool-patches] [PATCH v2 2/2] luarocks: Add a kludge for option force of luarocks remove Igor Munkin
2020-04-01 10:02     ` lvasiliev
2020-04-02 15:52       ` lvasiliev
2020-03-18 22:34 ` [Tarantool-patches] [PATCH v2 0/2] Fix some options of rocks module Vladislav Shpilevoy
2020-03-19 19:19   ` Igor Munkin
2020-04-01 11:33 ` Igor Munkin
2020-04-02  7:35   ` lvasiliev
2020-04-02 15:34 ` Kirill Yukhin
2020-04-09  1:00   ` Alexander Turenko
2020-04-04 18:40 ` Vladislav Shpilevoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89247698259e0863d662c63df0abefbf31e2fcfe.1584358124.git.lvasiliev@tarantool.org \
    --to=lvasiliev@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v2 2/2] luarocks: Add a kludge for option force of luarocks remove' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox