Skip to content

Commit

Permalink
Auto merge of #697 - kbknapp:issue-688, r=kbknapp
Browse files Browse the repository at this point in the history
fix: fixes a bug that made determining when to auto-wrap long help me…

…ssages inconsistent

Closes #688
  • Loading branch information
homu committed Oct 21, 2016
2 parents 51497a2 + fbfa019 commit cc0718d
Show file tree
Hide file tree
Showing 10 changed files with 223 additions and 175 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
<a name="v2.14.1"></a>
### v2.14.1 (2016-10-20)


#### Documentation

* Improve documentation around features ([4ee85b95](https://github.com/kbknapp/clap-rs/commit/4ee85b95d2d16708a016a3ba4e6e2c93b89b7fad))
* reword docs for ErrorKind and app::Settings ([3ccde7a4](https://github.com/kbknapp/clap-rs/commit/3ccde7a4b8f7a2ea8b916a5415c04a8ff4b5cb7a))
* fix tests that fail when the "suggestions" feature is disabled ([996fc381](https://github.com/kbknapp/clap-rs/commit/996fc381763a48d125c7ea8a58fed057fd0b4ac6))
* fix the OsString-using doc-tests ([af9e1a39](https://github.com/kbknapp/clap-rs/commit/af9e1a393ce6cdda46a03c8a4f48df222b015a24))
* tag non-rust code blocks as such instead of ignoring them ([0ba9f4b1](https://github.com/kbknapp/clap-rs/commit/0ba9f4b123f281952581b6dec948f7e51dd22890))
* **ErrorKind:** improve some errors about subcommands ([9f6217a4](https://github.com/kbknapp/clap-rs/commit/9f6217a424da823343d7b801b9c350dee3cd1906))
* **yaml:** make sure the doc-tests don't fail before "missing file" ([8c0f5551](https://github.com/kbknapp/clap-rs/commit/8c0f55516f4910c78c9f8a2bdbd822729574f95b))

#### Improvements

* Stabilize clap_app! ([cd516006](https://github.com/kbknapp/clap-rs/commit/cd516006e35c37b005f329338560a0a53d1f3e00))
* **with_defaults:** Deprecate App::with_defaults() ([26085409](https://github.com/kbknapp/clap-rs/commit/2608540940c8bb66e517b65706bc7dea55510682), closes [#638](https://github.com/kbknapp/clap-rs/issues/638))

#### Bug Fixes

* fixes a bug that made determining when to auto-wrap long help messages inconsistent ([468baadb](https://github.com/kbknapp/clap-rs/commit/468baadb8398fc1d37897b0c49374aef4cf97dca), closes [#688](https://github.com/kbknapp/clap-rs/issues/688))
* **Completions:** fish completions for nested subcommands ([a61eaf8a](https://github.com/kbknapp/clap-rs/commit/a61eaf8aade76cfe90ccc0f7125751ebf60e3254))
* **features:** Make lints not enable other nightly-requiring features ([835f75e3](https://github.com/kbknapp/clap-rs/commit/835f75e3ba20999117363ed9f916464d777f36ef))



<a name="v2.14.0"></a>
## v2.14.0 (2016-10-05)

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "clap"
version = "2.14.0"
version = "2.14.1"
authors = ["Kevin K. <[email protected]>"]
exclude = ["examples/*", "clap-test/*", "tests/*", "benches/*", "*.png", "clap-perf/*", "*.dot"]
repository = "https://github.com/kbknapp/clap-rs.git"
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,21 @@ Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)

## What's New

Here's the highlights for v2.14.1 (Huge thanks to all the contributors who put in a lot of work this cycle! Especially @tormol @nabijaczleweli and @wdv4758h)

* Stabilize `clap_app!` macro (i.e. no longer need to use `unstable` feature)
* Fixes a bug that made determining when to auto-wrap long help messages inconsistent
* Fixes fish completions for nested subcommands
* Improve documentation around features
* Reword docs for `ErrorKind` and `App::settings`
* Fix tests that fail when the `suggestions` feature is disabled
* Fix the `OsString`-using doc-tests
* Tag non-rust code blocks as such instead of ignoring them
* Improve some errors about subcommands
* Makes sure the doc-tests don't fail before "missing file" in YAML tests
* Deprecate `App::with_defaults`
* Make lints not enable other nightly-requiring features

Here's the highlights for v2.14.0

* One can now alias arguments either visibly (whichc appears in the help text) or invisibly just like subcommands!
Expand Down
Loading

0 comments on commit cc0718d

Please sign in to comment.