chore: increase version

This commit is contained in:
Kevin K 2016-05-09 20:27:10 -04:00
parent c8c20a046e
commit 3ab0bf8826
5 changed files with 33 additions and 28 deletions

View file

@ -1,3 +1,22 @@
<a name="v2.4.1"></a>
### v2.4.1 (2016-05-10)
#### Bug Fixes
* **Usage Strings:**
* now properly dedups args that are also in groups ([3ca0947c](https://github.com/kbknapp/clap-rs/commit/3ca0947c166b4f8525752255e3a4fa6565eb9689), closes [#498](https://github.com/kbknapp/clap-rs/issues/498))
* removes duplicate groups from usage strings ([f574fb8a](https://github.com/kbknapp/clap-rs/commit/f574fb8a7cde4d4a2fa4c4481d59be2d0f135427))
#### Improvements
* **Groups:** formats positional args in groups in a better way ([fef11154](https://github.com/kbknapp/clap-rs/commit/fef11154fb7430d1cbf04a672aabb366e456a368))
* **Help:**
* moves positionals to standard <> formatting ([03dfe5ce](https://github.com/kbknapp/clap-rs/commit/03dfe5ceff1d63f172788ff688567ddad9fe119b))
* default help subcommand string has been shortened ([5b7fe8e4](https://github.com/kbknapp/clap-rs/commit/5b7fe8e4161e43ab19e2e5fcf55fbe46791134e9), closes [#494](https://github.com/kbknapp/clap-rs/issues/494))
<a name="v2.4.0"></a>
## v2.4.0 (2016-05-02)

View file

@ -1,9 +1,9 @@
[package]
name = "clap"
version = "2.4.0"
version = "2.4.1"
authors = ["Kevin K. <kbknapp@gmail.com>"]
exclude = ["examples/*", "clap-tests/*", "tests/*", "benches/*", "*.png", "clap-perf/*"]
exclude = ["examples/*", "clap-test/*", "tests/*", "benches/*", "*.png", "clap-perf/*", "*.dot"]
description = "A simple to use, efficient, and full featured Command Line Argument Parser"
repository = "https://github.com/kbknapp/clap-rs.git"
documentation = "http://kbknapp.github.io/clap-rs"
@ -22,7 +22,7 @@ clippy = { version = "=0.0.64", optional = true }
unicode-width = { version = "~0.1.3", optional = true }
[dev-dependencies]
clap-test = { path = "clap-test/" }
clap-test = { path = "clap-test/", version = "0.1.0"}
[features]
default = ["suggestions", "color", "wrap_help"]

View file

@ -1,25 +0,0 @@
THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
THIS_DIR:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd)
test:
cargo test
build:
cargo build
update-readme:
cd "$(THIS_DIR)"
cp src/lib.rs code.bak
cat README.md | sed -e 's/^/\/\/! /g' > readme.bak
sed -i '/\/\/!/d' src/lib.rs
sed -i '/\/\/ DOCS/r readme.bak' src/lib.rs
cat src/lib.rs | sed -e 's/`rust/`ignore/g' > src/lib.rs.tmp
cat src/lib.rs.tmp | sed -e 's/`toml/`ignore/g' > src/lib.rs
cat src/lib.rs | sed -e 's/\`sh/`ignore/g' > src/lib.rs.tmp
make clean || (make clean && false)
clean:
cd "$(THIS_DIR)"
mv code.bak src/lib.rs || true
rm src/lib.rs.t* || true
rm *.bak || true

View file

@ -38,6 +38,16 @@ Created by [gh-md-toc](https://github.com/ekalinin/github-markdown-toc)
## What's New
Here's what's new in v2.4.1
* Bug Fixes
* Usage strings get de-deuplicated when there are args which are also part ``ArgGroup`s`
* Fixed times when `ArgGroup`s are duplicated in usage strings
* Improvements
* Positional arguments which are part of a group are now formatted in a more readable way (fewer brackets)
* Positional arguments use the standard `<>` brackets to reduce confusion
* The default help string for the `help` subcommand has been shortened to fit in 80 columns
Here's the highlights from v2.4.0
* **Before Help:** adds support for displaying info before help message

View file

@ -2,6 +2,7 @@
name = "clap-test"
version = "0.1.0"
authors = ["Kevin K. <kbknapp@gmail.com>"]
exclude = ["Cargo.lock"]
description = "functions and macros to assist in testing clap"
license = "MIT"