cargo clap 4.0.0-rc.3
v4.0.0-rc.3

latest releases: 4.5.18, 4.5.17, 4.5.16...
24 months ago

Breaking Changes

  • ArgAction::Set, ArgAction::SetTrue, and Arg::Action::SetFalse now
    conflict by default to be like ArgAction::StoreValue and
    ArgAction::IncOccurrences, requiring cmd.args_override_self(true) to override instead (#4261)
  • (help) Line wrapping of help is now behind the existing wrap_help feature flag, either enable it or hard code your wraps (#4258)

Features

  • Add From<&OsStr>, From<OsString>, From<&str>, and From<String> to value_parser! (#4257)
  • Added StyledStr::ansi() to Display with ANSI escape codes
  • (error) Added Error::render which returns a StyledStr
  • (help) Command::render_usage now returns a StyledStr
  • (help) Command::render_help and Command::render_long_help which returned StyledStr
  • (help) Command::render_usage now returns a StyledStr which returned StyledStr

Don't miss a new clap release

NewReleases is sending notifications on new releases.