summaryrefslogtreecommitdiff
path: root/src/utils/helpwrap.rs
AgeCommit message (Collapse)Author
2024-09-06Fix clippy warnings (#1851)Tau Gärtli
* Fix non-portable doc comments warning A line starting with > might be interpreted as a block quote. In regular markdown this could be prevented by escaping the `>` using a backslash. However, since the doc comments are used by clap for the long help more or less verbatim, the `\` would be visible hence the shuffling around of words. * Use `.contains()`
2024-08-01Add wrap function for --help outputThomas Otto
Unicode and somewhat ANSI aware, can add indentation (skippable) and can also skip wrapping lines by using configurable magic prefixes.