From: Leonid <lvasiliev@tarantool.org>
To: alexander.turenko@tarantool.org
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH 2/2] luarocks: add a kludge for option force of luarocks remove
Date: Fri, 15 Nov 2019 18:44:32 +0300 [thread overview]
Message-ID: <f2d17bc067627e4601b4c36f2430d29fa8a06cc1.1573832434.git.lvasiliev@tarantool.org> (raw)
In-Reply-To: <cover.1573832434.git.lvasiliev@tarantool.org>
In-Reply-To: <cover.1573832434.git.lvasiliev@tarantool.org>
---
| 5 +++++
1 file changed, 5 insertions(+)
--git a/extra/dist/tarantoolctl.in b/extra/dist/tarantoolctl.in
index 09302ea9c..25c3fb1a2 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
next prev parent reply other threads:[~2019-11-15 15:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-15 15:44 [Tarantool-patches] [PATCH 0/2] Fix some options for rocks Leonid
2019-11-15 15:44 ` [Tarantool-patches] [PATCH 1/2] luarocks: add a kludge for option all of luarocks search Leonid
2020-03-15 17:54 ` Vladislav Shpilevoy
2020-03-16 11:58 ` Leonid Vasiliev
2019-11-15 15:44 ` Leonid [this message]
2020-03-15 17:54 ` [Tarantool-patches] [PATCH 0/2] Fix some options for rocks 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=f2d17bc067627e4601b4c36f2430d29fa8a06cc1.1573832434.git.lvasiliev@tarantool.org \
--to=lvasiliev@tarantool.org \
--cc=alexander.turenko@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH 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