strip less whitespace from commands

fixes #445
This commit is contained in:
ailin-nemui 2016-03-20 22:39:06 +01:00
commit 132d3c49f3
3 changed files with 4 additions and 4 deletions

View file

@ -762,7 +762,7 @@ static void cmd_completion(const char *data)
int len;
if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_OPTIONS |
PARAM_FLAG_GETREST | PARAM_FLAG_STRIP_TRAILING_WS,
PARAM_FLAG_GETREST,
"completion", &optlist, &key, &value))
return;