clap-rs v2.28.0 Release Notes

Release Date: 2017-11-28 // over 6 years ago
  • The minimum required Rust is now 1.20. This was done to start using bitflags 1.0 and having >1.0 deps is a very good thing!

    ๐Ÿ“š Documentation

    • ๐Ÿ”€ changes the demo version to 2.28 to stay in sync (ce6ca492)
    • Fix URL path to github hosted files (ce72aada, closes #1106)
    • fix typo (002b07fc)
    • README.md: updates the readme and pulls out some redundant sections (db6caf86)

    ๐Ÿ‘Œ Improvements

    • adds '[SUBCOMMAND]' to usage strings with only AppSettings::AllowExternalSubcommands is used with no other subcommands (e78bb757, closes #1093)

    API Additions

    • Adds Arg::case_insensitive(bool) which allows matching Arg::possible_values without worrying about ASCII case (1fec268e, closes #1118)
    • Adds the traits to be used with the clap-derive crate to be able to use Custom Derive (6f4c3412)

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fixes a regression where --help couldn't be overridden (a283d69f, closes #1112)
    • ๐Ÿ“œ fixes a bug that allowed options to pass parsing when no value was provided (2fb75821, closes #1105)
    • ๐Ÿ—„ ignore PropagateGlobalValuesDown deprecation warning (f61ce3f5, closes #1086)

    Deps

    • โšก๏ธ Updates bitflags to 1.0