These have now all been collapsed into Arg::num_args which accepts both (derive) Ensure # attribute still worksĬlap has had several ways for controlling how many values will be captured without always being clear on how they interacted, including.(parser) SetFalse should conflict with itself like SetTrue and Set.(error) Stylize escape ( -) suggestions.(error) Specialize the self-conflict error to look like clap v3.(error) Don't report unrelated groups in conflict or requires errors.(derive) Tell users about implicit arg groups when running into group name conflicts.(derive) Populate implicit ArgGroup (#3165).(derive) Remove a low-value assert preventing defaulting Help and Version actions.(derive) Process doc comments for # like in clap v3.(help) Fix wrapping calculations with ANSI escape codes.(error) Create errors like clap with Error::new, Error::with_cmd, and Error::insert.Added TypedValueParser::try_map for when adapting an existing TypedValueParser can fail.(derive) Allow () for fields to mean "don't read" (#4371).Only put ArgGroup in ArgMatches when explicitly specified, fixing derives handling of option-flattened fields (#4375).(error) Be more consistent in quoting, punctuation, and indentation in errors.(error) Don't suggest - when it doesn't help.Arg::exclusive(true) should not be exclusive with the argument's own ArgGroup.Allow using Arg::last(true) with Arg::value_hint(ValueHint::CommandWithArguments).(derive) Allow # to also work with enum variants with a value.Unreleased - ReleaseDate 4.0.19 - Features All notable changes to this project will be documented in this file.Īnd this project adheres to Semantic Versioning.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |