github clap-rs/clap v2.23.1

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

v2.23.1 (2017-04-05)

Bug Fixes

  • fixes a missing newline character in the autogenerated help and version messages in some instances (5ae9007d)

v2.23.0 (2017-04-05)

API Additions

  • App::long_about
  • App::long_version
  • App::print_long_help
  • App::write_long_help
  • App::print_long_version
  • App::write_long_version
  • Arg::long_help

Features

  • allows distinguishing between short and long version messages (-V/short or --version/long) (59272b06)
  • allows distinguishing between short and long help with subcommands in the same manner as args (6b371891)
  • allows specifying a short help vs a long help (i.e. varying levels of detail depending on if -h or --help was used) (ef1b24c3)
  • clap_app!: adds support for arg names with hyphens similar to longs with hyphens (f7a88779, closes #869)

Bug Fixes

  • fixes a bug that wasn't allowing help and version to be properly overridden (8b2ceb83, closes #922)

Documentation

  • clap_app!: documents the --("some-arg") method for using args with hyphens inside them (bc08ef3e, closes #919)

v2.22.2 (2017-03-30)

Bug Fixes

  • Custom Usage Strings: fixes the usage string regression when using help templates (0e4fd96d)

Don't miss a new clap release

NewReleases is sending notifications on new releases.