mirror of
https://github.com/matrix-construct/construct
synced 2025-02-16 16:50:12 +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
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue