Releases: clap-rs/clap
Releases · clap-rs/clap
v4.5.57
v4.5.56
[4.5.56] - 2026-01-29
Fixes
- On conflict error, don't show conflicting arguments in the usage
v4.5.55
[4.5.55] - 2026-01-27
Fixes
- Fix inconsistency in precedence between positionals with a
value_terminator("--")and escapes (--) where./foo -- barmeans the first arg is empty, rather than escaping future args
v4.5.54
[4.5.54] - 2026-01-02
Fixes
- (help) Move
[default]to its own paragraph whenPossibleValue::helpis present in--help
v4.5.53
[4.5.53] - 2025-11-19
Features
- Add
default_values_if,default_values_ifs
v4.5.52
[4.5.52] - 2025-11-17
Fixes
- Don't panic when
args_conflicts_with_subcommandsconflicts with anArgGroup
v4.5.51
[4.5.51] - 2025-10-29
Fixes
- (help) Correctly calculate padding for short flags that take a value
- (help) Don't panic on short flags using
ArgAction::Count
v4.5.50
[4.5.50] - 2025-10-20
Features
- Accept
CowwhereStringand&strare accepted
v4.5.48
[4.5.48] - 2025-09-19
Documentation
- Add a new CLI Concepts document as another way of framing clap
- Expand the
typed_derivecookbook entry
v4.5.47
[4.5.47] - 2025-09-02
Features
- Added
impl FromArgMatches for () - Added
impl Args for () - Added
impl Subcommand for () - Added
impl FromArgMatches for Infallible - Added
impl Subcommand for Infallible
Fixes
- (derive) Update runtime error text to match
clap