From 432ffa97fa32d9c88720590681b2b004ce4b9199 Mon Sep 17 00:00:00 2001 From: Leonid <lvasiliev@tarantool.org> Date: Fri, 15 Nov 2019 15:55:08 +0300 Subject: [PATCH] luarocks: Add a kludge for option all of luarocks search @Changelog 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extra/dist/tarantoolctl.in b/extra/dist/tarantoolctl.in index 6daf866acf..3935345c09 100755 --- a/extra/dist/tarantoolctl.in +++ b/extra/dist/tarantoolctl.in @@ -945,6 +945,10 @@ local function rocks() end table.insert(positional_arguments, key) + if positional_arguments[1] == "search" and keyword_arguments["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 +1404,7 @@ local function populate_arguments() { 'only-server', 'string' }, { 'server', 'string' }, { 'language', 'string' }, + { 'all', 'boolean' }, }) local cmd_name -- GitLab