feat: Upgrade to cobra v1.8.1
Signed-off-by: John McBride <jpmmcbride@gmail.com>
This commit is contained in:
2
vendor/github.com/spf13/cobra/doc/util.go
generated
vendored
2
vendor/github.com/spf13/cobra/doc/util.go
generated
vendored
@@ -40,7 +40,7 @@ func hasSeeAlso(cmd *cobra.Command) bool {
|
||||
// that do not contain \n.
|
||||
func forceMultiLine(s string) string {
|
||||
if len(s) > 60 && !strings.Contains(s, "\n") {
|
||||
s = s + "\n"
|
||||
s += "\n"
|
||||
}
|
||||
return s
|
||||
}
|
||||
|
Reference in New Issue
Block a user