github clap-rs/clap v2.29.1
Weight loss 2018!

latest releases: clap_complete-v4.5.2, v4.5.4, v4.5.3...
6 years ago

Changes since 2.27.0 (most recent tag before this):

2.29.1 (2018-01-09)

Documentation

Performance

  • further debloating by removing generics from error cases (eb8d919e)
  • debloats clap by deduplicating logic and refactors (03e413d7)

Bug Fixes

  • fixes the ripgrep benchmark by adding a value to a flag that expects it (d26ab2b9)
  • bash completion: Change the bash completion script code generation to support hyphens. (ba7f1d18)
  • completions/zsh.rs: Fix completion of long option values (46365cf8)

2.29.0 (2017-12-02)

API Additions

  • Arg: adds Arg::hide_env_values(bool) which allows one to hide any current env values and display only the key in help messages (fb41d062)

2.28.0 (2017-11-28)

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

v2.27.1 (2017-10-24)

Bug Fixes

  • Adds term_size as an optional dependency (with feature wrap_help) to fix compile bug

Don't miss a new clap release

NewReleases is sending notifications on new releases.