0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-29 15:28:20 +02:00

modules/console: Add cmd to dump info to log.

This commit is contained in:
Jason Volk 2018-04-20 12:43:58 -07:00
parent 1cd3e41e44
commit 6f90708e46

View file

@ -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
//