Make `wrap_help` a default feature
Author: epageCreated Jul 17, 2023Updated Aug 21, 2026
LabelsC-enhancementS-waiting-on-decisionA-helpM-minor-incompat
In clap v3, terminal wrapping was always available
wrap_helpwasn't about wrapping but auto-detecting the widthunicodemake it correctly detect unicode character widths
In clap v4, we restructured this
wrap_helpencompassed both wrapping and auto-detecting the widthunicoderemained the same
We also kept wrap_help as non-default, moving wrapping from built-in to being non-default.
The theory behind it was that its a lot of code for processing for that some minor tweaks could make "good enough".
However, enough people seem to run into this being missing that we should probably make it default again. Anyone who is optimizing for size likely has default-features = false and this won't affect.
Source: clap-rs/clap