I blame debian for this

This commit is contained in:
Sasha Koshka 2024-02-13 13:14:45 -05:00
parent b743e56c2a
commit 76df41f813
1 changed files with 3 additions and 1 deletions

View File

@ -159,7 +159,9 @@ func (this *Cli) Usage () {
longest := 0
for _, flag := range this.Flags {
longest = max(longest, len(flag.Long))
if len(flag.Long) > longest {
longest = len(flag.Long)
}
}
format := fmt.Sprint("\t%-", longest + 8, "s%s\n")