forked from Alepha/Alepha
The --help
output got mangled. This fixes it.
This commit is contained in:
@ -195,6 +195,7 @@ namespace Alepha::Hydrogen ::detail:: ProgramOptions_m
|
|||||||
for( const auto &[ name, def ]: programOptions() )
|
for( const auto &[ name, def ]: programOptions() )
|
||||||
{
|
{
|
||||||
// When turning off wrapping, here, we also emit a newline between entries.
|
// 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 );
|
auto wrapping= adaptStream( StartWrap{ width, alignmentWidth }, std::cout );
|
||||||
|
|
||||||
const auto &[ _, helpText, defaultBuilder, domains ]= def;
|
const auto &[ _, helpText, defaultBuilder, domains ]= def;
|
||||||
|
Reference in New Issue
Block a user