d2c409c56b49252c85eefd340863fd59a36808d6 broke setting `--slang=` to effectively `-clr` the option. Restore the behavior because scripts rely on it.
Unified · Split
| @@ -1417,7 +1417,7 @@ static char **separate_input_param(const m_option_t *opt, bstr param, · 1416 unmodified lines | ||
| 1417 | 1417 | str = bstr_cut(str, 1); |
| 1418 | 1418 | n++; |
| 1419 | 1419 | } |
| 1420 | − if (n == 0) | |
| 1420 | + if (n == 0 && op != OP_NONE) | |
| 1421 | 1421 | return NULL; |
| 1422 | 1422 | |
| 1423 | 1423 | char **list = talloc_array(NULL, char *, n + 2); |