Skip to content
Snippets Groups Projects
Commit 432ffa97 authored by Leonid's avatar Leonid Committed by Kirill Yukhin
Browse files

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
parent fc55875e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment