"vscode:/vscode.git/clone" did not exist on "1116bb2c71a79c769b44942944a436b6aafddda5"
Commit b67f0276 authored by antirez's avatar antirez
Browse files

redis-cli: fix #4990 additional argument in help.

parent 18d65849
......@@ -542,6 +542,7 @@ static void cliIntegrateHelp(void) {
ch->name = new->argv[0];
ch->params = sdsempty();
int args = llabs(entry->element[1]->integer);
args--; /* Remove the command name itself. */
if (entry->element[3]->integer == 1) {
ch->params = sdscat(ch->params,"key ");
args--;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment