mirror of
https://github.com/matrix-construct/construct
synced 2024-09-26 18:38:52 +02:00
construct: Use static named options argument to console command.
This commit is contained in:
parent
b938669ba3
commit
549452d7fc
1 changed files with 2 additions and 1 deletions
|
@ -292,7 +292,8 @@ handle_line_bymodule(const string_view &line)
|
||||||
std::ostringstream ss;
|
std::ostringstream ss;
|
||||||
pubsetbuf(ss, buf);
|
pubsetbuf(ss, buf);
|
||||||
int ret;
|
int ret;
|
||||||
switch((ret = command(ss, line, {})))
|
static const string_view opts;
|
||||||
|
switch((ret = command(ss, line, opts)))
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
case 1:
|
case 1:
|
||||||
|
|
Loading…
Reference in a new issue