1
0
forked from Alepha/Alepha

The --help output got mangled. This fixes it.

This commit is contained in:
2024-04-04 22:26:29 -04:00
parent 541a945605
commit 083a58dc99

View File

@ -195,6 +195,7 @@ namespace Alepha::Hydrogen ::detail:: ProgramOptions_m
for( const auto &[ name, def ]: programOptions() )
{
// When turning off wrapping, here, we also emit a newline between entries.
AutoRAII endline{ []{}, []{ std::cout << std::endl; } };
auto wrapping= adaptStream( StartWrap{ width, alignmentWidth }, std::cout );
const auto &[ _, helpText, defaultBuilder, domains ]= def;