diff --git a/cli/flags.go b/cli/flags.go index fb3e34e1..17441b5b 100644 --- a/cli/flags.go +++ b/cli/flags.go @@ -203,7 +203,7 @@ func formatFlags(opts any) string { } else { sb.WriteString("=") } - sb.WriteString(" "[:24-sb.Len()+m]) + sb.WriteString(strings.Repeat(" ", 24-(sb.Len()-m))) sb.WriteString(tag.Get("description")) sb.WriteString("\n") }