mirror of
https://github.com/matrix-construct/construct
synced 2025-04-29 13:04:17 +02:00
modules/console: Add space after key in conf list output.
This commit is contained in:
parent
c027a567ce
commit
fef7faaf23
1 changed files with 7 additions and 2 deletions
|
@ -1728,9 +1728,14 @@ console_cmd__conf__list(opt &out, const string_view &line)
|
|||
if(prefix && !startswith(key, prefix))
|
||||
continue;
|
||||
|
||||
const string_view _key
|
||||
{
|
||||
fmt::sprintf{val, "%s ", key}
|
||||
};
|
||||
|
||||
out
|
||||
<< std::setw(64) << std::left << std::setfill('_') << key
|
||||
<< " " << item_p->get(val)
|
||||
<< std::setw(64) << std::left << std::setfill('_') << _key
|
||||
<< " " << item_p->get(val + size(_key))
|
||||
<< std::endl;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue