I blame debian for this
This commit is contained in:
parent
b743e56c2a
commit
76df41f813
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue