Update to clap 4.x

  • Update to clap 4
    Most of the changes are mechanical conversion #[clap(...)] to the corresponding command, arg, or value attribute.
    Wrapping the help output according to the terminal width is now behind the "wrap_help" feature, so that feature is added.
    AppSettings::ColoredHelp was removed as that has been the default since 3.x.

  • Bump clap to 4.4.1 to restore colored help
    Styling, via anstyle, was stabilized in 4.4.1. Use a style which mimics clap 3.x's default styling.

Merge request reports

Loading