Skip to content
Snippets Groups Projects
Commit 72a598e7 authored by bigbes's avatar bigbes Committed by Nick Zavaritsky
Browse files

Fix broken tarantoolctl usage message

parent 3977c18f
No related branches found
No related tags found
No related merge requests found
......@@ -674,12 +674,12 @@ local commands = setmetatable({
})
local usage = function()
local local_tbl = fun.iter(commands):reduce(function(name, cmd)
local local_tbl = fun.iter(commands):filter(function(name, cmd)
return cmd.process == process_local
end):map(function(name, cmd) return name end):totable()
table.sort(local_tbl); local_tbl = table.concat(local_tbl, '|')
local remote_tbl = fun.iter(commands):reduce(function(name, cmd)
local remote_tbl = fun.iter(commands):filter(function(name, cmd)
return cmd.process == process_remote
end):map(function(name, cmd) return name end):totable()
table.sort(remote_tbl); remote_tbl = table.concat(remote_tbl, '|')
......
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