Skip to content

Commit

Permalink
internal/flags: fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe committed Sep 14, 2023
1 parent 636c64c commit 86bc2cd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/flags/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,6 @@ func FlagString(f cli.Flag) string {
}
}

func pad(s string, length int) string {
if len(s) < length {
s += strings.Repeat(" ", length-len(s))
}
return s
}

func indent(s string, nspace int) string {
ind := strings.Repeat(" ", nspace)
return ind + strings.ReplaceAll(s, "\n", "\n"+ind)
Expand Down

0 comments on commit 86bc2cd

Please sign in to comment.