diff --git a/clap_builder/src/derive.rs b/clap_builder/src/derive.rs index 996e110a88e..28d56abde41 100644 --- a/clap_builder/src/derive.rs +++ b/clap_builder/src/derive.rs @@ -73,6 +73,10 @@ pub trait Parser: FromArgMatches + CommandFactory + Sized { } /// Update from iterator, [exit][Error::exit] on error. + /// + /// Unlike [`Parser::parse`], this works with an existing instance of `self`. + /// The assumption is that all required fields are already provided and any [`Args`] or + /// [`Subcommand`]s provided by the user will modify only what is specified. fn update_from(&mut self, itr: I) where I: IntoIterator,