From: Leonid Vasiliev <lvasiliev@tarantool.org> To: v.shpilevoy@tarantool.org Cc: tarantool-patches@dev.tarantool.org Subject: Re: [Tarantool-patches] [PATCH v2 1/2] luarocks: Add a kludge for option all of luarocks search Date: Mon, 16 Mar 2020 15:01:35 +0300 [thread overview] Message-ID: <f27ccc46-fd3f-b7b7-5dc7-c579ab19f8b6@tarantool.org> (raw) In-Reply-To: <c5da3dc05b778a45fe7eaca5a75ba72b4ba6c203.1584358124.git.lvasiliev@tarantool.org> On 3/16/20 2:50 PM, Leonid Vasiliev wrote: > From: Leonid <lvasiliev@tarantool.org> > > Fixed the tarantoolctl rocks search flag --all > > Forwarding of the --all flag to tarantoolctl rocks module was added. > (Command: tarantoolctl rocks search --all) > > Fixes: #4529 > --- > extra/dist/tarantoolctl.in | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/extra/dist/tarantoolctl.in b/extra/dist/tarantoolctl.in > index 6daf866ac..372838edd 100755 > --- a/extra/dist/tarantoolctl.in > +++ b/extra/dist/tarantoolctl.in > @@ -937,6 +937,7 @@ local function rocks() > local util = require("luarocks.util") > local command_line = require("luarocks.cmd") > local options = keyword_arguments > + > local key = nil > if options["only-server"] ~= nil then > key = find_arg("only%-server") > @@ -945,6 +946,10 @@ local function rocks() > end > table.insert(positional_arguments, key) > > + if positional_arguments[1] == "search" and find_arg("all") then > + table.insert(positional_arguments, "--all") > + end > + > -- Tweak help messages > util.see_help = function(command, program) > -- TODO: print extended help message here > @@ -1400,6 +1405,7 @@ local function populate_arguments() > { 'only-server', 'string' }, > { 'server', 'string' }, > { 'language', 'string' }, > + { 'all', 'boolean' }, > }) > > local cmd_name > diff --git a/extra/dist/tarantoolctl.in b/extra/dist/tarantoolctl.in index c6c3ecb8f..2b95e2957 100755 --- a/extra/dist/tarantoolctl.in +++ b/extra/dist/tarantoolctl.in @@ -937,7 +937,6 @@ local function rocks() local util = require("luarocks.util") local command_line = require("luarocks.cmd") local options = keyword_arguments - local key = nil if options["only-server"] ~= nil then key = find_arg("only%-server")
next prev parent reply other threads:[~2020-03-16 12:04 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 [this message] 2020-03-31 23:21 ` Igor Munkin 2020-04-01 10:00 ` lvasiliev 2020-04-02 15:50 ` lvasiliev 2020-03-16 11:50 ` [Tarantool-patches] [PATCH v2 2/2] luarocks: Add a kludge for option force of luarocks remove Leonid Vasiliev 2020-03-31 23:21 ` 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=f27ccc46-fd3f-b7b7-5dc7-c579ab19f8b6@tarantool.org \ --to=lvasiliev@tarantool.org \ --cc=tarantool-patches@dev.tarantool.org \ --cc=v.shpilevoy@tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH v2 1/2] luarocks: Add a kludge for option all of luarocks search' \ /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