github clap-rs/clap v2.6.0

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

v2.6.0 (2016-06-14)

Improvements

  • removes extra newline from help output (86e61d19)
  • allows printing version to any io::Write object (921f5f79)
  • removes extra newline when printing version (7e2e2cbb)
  • Aliases: improves readability of asliases in help messages (ca511de7, closes #526, #529)
  • Usage Strings: improves the default usage string when only a single positional arg is present (ec86f2da, closes #518)

Features

  • Help: allows wrapping at specified term width (Even on Windows!) (1761dc0d, closes #451)
  • Settings:
    • adds new setting to stop delimiting values with -- or TrailingVarArg (fc3e0f5a, closes #511)
    • one can now set an AppSetting which is propogated down through child subcommands (e2341835, closes #519)
  • Subcommands: adds support for visible aliases (7b10e7f8, closes #522)

Bug Fixes

  • fixes bug where args are printed out of order with templates (05abb534)
  • fixes bug where one can't override version or help flags (90d7d6a2, closes #514)
  • fixes issue where before_help wasn't printed (b3faff60)
  • Help: App::before_help and App::after_help now correctly wrap (1f4da767, closes #516)
  • Settings: fixes bug where new color settings couldn't be converted from strs (706a7c11)
  • Subcommands: subcommands with aliases now display help of the aliased subcommand (5354d14b, closes #521)
  • Windows: fixes a failing windows build (01e7dfd6)
  • YAML: adds missing YAML methods for App and Arg (e468faf3, closes #528)

Don't miss a new clap release

NewReleases is sending notifications on new releases.