Lines Matching defs:last
451 /// **NOTE:** When utilized with [`Arg::num_args(1..)`], only the **last** positional argument
527 /// This arg is the last, or final, positional argument (i.e. has the highest
532 /// they will receive an [`UnknownArgument`] error. Setting an argument to `.last(true)` also
537 /// `ARG` is marked as `.last(true)`.
558 /// .last(true)
562 /// Setting `last` ensures the arg has the highest [index] of all positional args
572 /// .last(true))
593 /// .last(true))
605 pub fn last(self, yes: bool) -> Self {
976 /// - Require positional arguments to appear after `--` with [`Arg::last`]
1575 /// [`Arg::allow_hyphen_values(true)`], and [`Arg::last(true)`] when set to `true`.
1580 /// [`Arg::last(true)`]: Arg::last()
1587 self.allow_hyphen_values(yes).last(yes)
3622 /// **last** "wins")
3661 /// (whichever argument was specified at runtime **last** "wins")
4050 /// Reports whether [`Arg::last`] is set