Skip to content

Commit

Permalink
Clap app fix (#859)
Browse files Browse the repository at this point in the history
* fix(clap_app!): fixes a critical bug of a missing fragmet specifier when using  tags

* chore: increase version
  • Loading branch information
kbknapp authored Feb 18, 2017
1 parent 414e99c commit ceccaf8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="v1.5.6"></a>
### v1.5.6 (2017-02-18)


#### Bug Fixes

* **clap_app!:** fixes a critical bug of a missing fragmet specifier when using tags ([39647f49](https://github.com/kbknapp/clap-rs/commit/39647f495ae5402ae39569ef2ca91cfca1875bca))



<a name="v1.5.5"></a>
### v1.5.5 (2016-01-04)

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 = "1.5.5"
version = "1.5.6"
authors = ["Kevin K. <kbknapp@gmail.com>"]
exclude = ["examples/*", "clap-tests/*", "tests/*", "benches/*", "*.png", "clap-perf/*"]
description = "A simple to use, efficient, and full featured Command Line Argument Parser"
Expand Down
2 changes: 1 addition & 1 deletion src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ macro_rules! clap_app {
clap_app!{ @arg ($arg) $modes +required $($tail)* }
};
// !foo -> .foo(false)
(@arg ($arg:expr) $modes:tt !$ident $($tail:tt)*) => {
(@arg ($arg:expr) $modes:tt !$ident:ident $($tail:tt)*) => {
clap_app!{ @arg ($arg.$ident(false)) $modes $($tail)* }
};
// foo -> .foo(true)
Expand Down

0 comments on commit ceccaf8

Please sign in to comment.