[common] option: fix incorrect column header padding

This commit is contained in:
Geoffrey McRae 2019-05-21 11:38:40 +10:00
parent 06c229dfd4
commit 7cc0f7cb99
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
a12-193-g2d5f6d65ce+1 a12-194-g06c229dfd4+1

View File

@ -583,7 +583,7 @@ void option_print()
maxLen = alloc_sprintf( maxLen = alloc_sprintf(
&line, &line,
"%-*s | Short | %-*s | Description", "%-*s | Short | %-*s | Description",
state.groups[g].pad + 4, strlen(state.groups[g].module) + state.groups[g].pad + 1,
"Long", "Long",
valueLen, valueLen,
"Value" "Value"