Skip to content

Commit e4aaeac

Browse files
authored
fix(HelpFormatter): lost one space between key and value (#4631)
1 parent 7345bf3 commit e4aaeac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Util/src/HelpFormatter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ void HelpFormatter::formatOption(std::ostream& ostr, const Option& option, int w
180180
n += (int) shortPrefix().length() + (int) option.shortName().length();
181181
if (option.takesArgument())
182182
{
183+
ostr << ' ';
183184
if (!option.argumentRequired()) { ostr << '['; ++n; }
184185
ostr << option.argumentName();
185186
n += (int) option.argumentName().length();

0 commit comments

Comments
 (0)