diff --git a/clap_derive/src/derives/args.rs b/clap_derive/src/derives/args.rs index b14816f3ab1..4195a081082 100644 --- a/clap_derive/src/derives/args.rs +++ b/clap_derive/src/derives/args.rs @@ -302,7 +302,7 @@ pub fn gen_augment( parse_try_from_os_str(); }, ParserKind::FromFlag => quote_spanned! { func.span()=> - #[deprecated(since = "3.2.0", note = "Replaced with `#[clap(action = ArgAction::SetTrue, default_value = , default_missing_value = )]`")] + #[deprecated(since = "3.2.0", note = "Replaced with `#[clap(action = ArgAction::SetTrue)]`")] fn parse_from_flag() { } parse_from_flag();