MCPcopy Index your code
hub / github.com/cloudfoundry/cli / maxLineLength

Method maxLineLength

cf/flags/flags_usage.go:93–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91}
92
93func (f flags) maxLineLength() int {
94 var l int
95
96 for _, x := range f {
97
98 lPrime := len(x.flagList())
99
100 if lPrime > l {
101 l = lPrime
102 }
103 }
104
105 return l
106}

Callers 1

toStringMethod · 0.95

Calls 1

flagListMethod · 0.80

Tested by

no test coverage detected