We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb81ce5 commit f28b235Copy full SHA for f28b235
1 file changed
src/macros.rs
@@ -684,7 +684,7 @@ macro_rules! clap_app {
684
clap_app!{ @arg ($arg) $modes +required $($tail)* }
685
};
686
// !foo -> .foo(false)
687
- (@arg ($arg:expr) $modes:tt !$ident $($tail:tt)*) => {
+ (@arg ($arg:expr) $modes:tt !$ident:ident $($tail:tt)*) => {
688
clap_app!{ @arg ($arg.$ident(false)) $modes $($tail)* }
689
690
// +foo -> .foo(true)
0 commit comments