mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
fix(HelpFormatter): lost one space between key and value (#4631)
This commit is contained in:
parent
7345bf34f9
commit
e4aaeacea8
@ -180,6 +180,7 @@ void HelpFormatter::formatOption(std::ostream& ostr, const Option& option, int w
|
||||
n += (int) shortPrefix().length() + (int) option.shortName().length();
|
||||
if (option.takesArgument())
|
||||
{
|
||||
ostr << ' ';
|
||||
if (!option.argumentRequired()) { ostr << '['; ++n; }
|
||||
ostr << option.argumentName();
|
||||
n += (int) option.argumentName().length();
|
||||
|
Loading…
Reference in New Issue
Block a user