We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df165a2 commit a3a4764Copy full SHA for a3a4764
clap_builder/src/derive.rs
@@ -73,6 +73,10 @@ pub trait Parser: FromArgMatches + CommandFactory + Sized {
73
}
74
75
/// Update from iterator, [exit][Error::exit] on error.
76
+ ///
77
+ /// Unlike [`Parser::parse`], this works with an existing instance of `self`.
78
+ /// The assumption is that all required fields are already provided and any [`Args`] or
79
+ /// [`Subcommand`]s provided by the user will modify only what is specified.
80
fn update_from<I, T>(&mut self, itr: I)
81
where
82
I: IntoIterator<Item = T>,
0 commit comments