Home
last modified time | relevance | path

Searched refs:InvalidArg (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/clap/3.2.23/src/error/
Dmod.rs294 (ContextKind::InvalidArg, ContextValue::String(arg)), in argument_conflict()
305 .extend_context_unchecked([(ContextKind::InvalidArg, ContextValue::String(arg))]); in empty_value()
321 (ContextKind::InvalidArg, ContextValue::String(arg)), in no_equals()
340 (ContextKind::InvalidArg, ContextValue::String(arg)), in invalid_value()
403 (ContextKind::InvalidArg, ContextValue::Strings(required)), in missing_required_argument()
439 (ContextKind::InvalidArg, ContextValue::String(arg)), in too_many_occurrences()
458 (ContextKind::InvalidArg, ContextValue::String(arg)), in too_many_values()
476 (ContextKind::InvalidArg, ContextValue::String(arg)), in too_few_values()
499 (ContextKind::InvalidArg, ContextValue::String(arg)), in value_validation()
516 (ContextKind::InvalidArg, ContextValue::String(arg)), in wrong_number_of_values()
[all …]
Dcontext.rs8 InvalidArg, enumerator
/external/rust/crates/clap/src/error/
Dformat.rs128 let invalid_arg = error.get(ContextKind::InvalidArg); in write_dynamic_context()
167 let invalid_arg = error.get(ContextKind::InvalidArg); in write_dynamic_context()
178 let invalid_arg = error.get(ContextKind::InvalidArg); in write_dynamic_context()
230 let invalid_arg = error.get(ContextKind::InvalidArg); in write_dynamic_context()
274 let invalid_arg = error.get(ContextKind::InvalidArg); in write_dynamic_context()
292 let invalid_arg = error.get(ContextKind::InvalidArg); in write_dynamic_context()
314 let invalid_arg = error.get(ContextKind::InvalidArg); in write_dynamic_context()
337 let invalid_arg = error.get(ContextKind::InvalidArg); in write_dynamic_context()
359 let invalid_arg = error.get(ContextKind::InvalidArg); in write_dynamic_context()
Dmod.rs363 (ContextKind::InvalidArg, ContextValue::String(arg)), in argument_conflict()
385 .extend_context_unchecked([(ContextKind::InvalidArg, ContextValue::String(arg))]); in no_equals()
407 (ContextKind::InvalidArg, ContextValue::String(arg)), in invalid_value()
497 ContextKind::InvalidArg, in missing_required_argument()
560 (ContextKind::InvalidArg, ContextValue::String(arg)), in too_many_values()
584 (ContextKind::InvalidArg, ContextValue::String(arg)), in too_few_values()
613 (ContextKind::InvalidArg, ContextValue::String(arg)), in value_validation()
633 (ContextKind::InvalidArg, ContextValue::String(arg)), in wrong_number_of_values()
676 .extend_context_unchecked([(ContextKind::InvalidArg, ContextValue::String(arg))]); in unknown_argument()
728 (ContextKind::InvalidArg, ContextValue::String(arg)), in unnecessary_double_dash()
Dcontext.rs9 InvalidArg, enumerator
47 Self::InvalidArg => Some("Invalid Argument"), in as_str()