Wrapping --help
output lines to 80 (or whatever) characters
#810
Labels
kind/feature
A feature request for cobra; new or enhanced behavior
lifecycle/needs-pr
Ready for a PR from the community
I had a look around the code and figured that this is not supported. Was wondering if you would accept a patch.
This is not very trivial to do right now as the padding that comes before the command descriptions is dependent on the longest flag name + type and calculating the padding and repadding subsequent lines is cumbersome for the user.
Therefore I think it makes more sense to handle this inside cobra.
The text was updated successfully, but these errors were encountered: