Lines Matching refs:an
5 /// Occurs when an [`Arg`][crate::Arg] has a set of possible values,
35 /// Occurs when the user provides an unrecognized [`Subcommand`] which meets the threshold for
36 /// being similar enough to an existing subcommand.
59 /// Occurs when the user doesn't use equals for an option that requires equal
75 /// Occurs when the user provides a value for an argument with a custom validation and the
98 /// Occurs when a user provides more values for an argument than were defined by setting
115 /// Occurs when the user provides fewer values for an argument than were defined by setting
133 /// Occurs when the user provides a different number of values for an argument than what's
248 /// **Note**: If the help is displayed due to an error (such as missing subcommands) it will
263 /// Occurs when either an argument or a [`Subcommand`] is required, as defined by
301 /// Represents an [I/O error].
319 Self::InvalidValue => Some("one of the values isn't valid for an argument"),
324 Self::TooManyValues => Some("unexpected value for an argument found"),
325 Self::TooFewValues => Some("more values required for an argument"),
326 Self::WrongNumberOfValues => Some("too many or too few values for an argument"),
328 Some("an argument cannot be used with one or more of the other specified arguments")