mirror of
https://github.com/matrix-construct/construct
synced 2024-11-18 07:50:57 +01:00
modules/console: Add cmd to dump info to log.
This commit is contained in:
parent
1cd3e41e44
commit
6f90708e46
1 changed files with 15 additions and 0 deletions
|
@ -388,6 +388,21 @@ console_cmd__debug(opt &out, const string_view &line)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// info
|
||||||
|
//
|
||||||
|
|
||||||
|
bool
|
||||||
|
console_cmd__info(opt &out, const string_view &line)
|
||||||
|
{
|
||||||
|
info::dump();
|
||||||
|
|
||||||
|
out << "Daemon information was written to the log."
|
||||||
|
<< std::endl;
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// conf
|
// conf
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue