From 7cc0f7cb996311a82e10ca6c9a4c3bb7ab95eeab Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Tue, 21 May 2019 11:38:40 +1000 Subject: [PATCH] [common] option: fix incorrect column header padding --- VERSION | 2 +- common/src/option.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index f63c68bf..3a790571 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -a12-193-g2d5f6d65ce+1 \ No newline at end of file +a12-194-g06c229dfd4+1 \ No newline at end of file diff --git a/common/src/option.c b/common/src/option.c index f3ec8d7f..199b4f50 100644 --- a/common/src/option.c +++ b/common/src/option.c @@ -583,7 +583,7 @@ void option_print() maxLen = alloc_sprintf( &line, "%-*s | Short | %-*s | Description", - state.groups[g].pad + 4, + strlen(state.groups[g].module) + state.groups[g].pad + 1, "Long", valueLen, "Value"