diff --git a/CHANGELOG.md b/CHANGELOG.md index 481d7359eec..9600180601e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ + +### 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)) + + + ### v1.5.5 (2016-01-04) diff --git a/Cargo.toml b/Cargo.toml index cc6365791b8..3eed79e03f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "clap" -version = "1.5.5" +version = "1.5.6" authors = ["Kevin K. "] exclude = ["examples/*", "clap-tests/*", "tests/*", "benches/*", "*.png", "clap-perf/*"] description = "A simple to use, efficient, and full featured Command Line Argument Parser" diff --git a/src/macros.rs b/src/macros.rs index 885c1185e90..aa984b50d4b 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -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)