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

luarocks: Add a kludge for option force of luarocks remove

@Changelog
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
parent 432ffa97
No related branches found
No related tags found
No related merge requests found
......@@ -949,6 +949,10 @@ local function rocks()
table.insert(positional_arguments, "--all")
end
if positional_arguments[1] == "remove" and keyword_arguments["force"] then
table.insert(positional_arguments, "--force")
end
-- Tweak help messages
util.see_help = function(command, program)
-- TODO: print extended help message here
......@@ -1405,6 +1409,7 @@ local function populate_arguments()
{ 'server', 'string' },
{ 'language', 'string' },
{ 'all', 'boolean' },
{ 'force', '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