Searched refs:InvalidSubcommand (Results 1 – 11 of 11) sorted by relevance
/third_party/rust/crates/clap/src/error/ |
D | kind.rs | 57 InvalidSubcommand, enumerator 321 Self::InvalidSubcommand => Some("unrecognized subcommand"), in as_str()
|
D | context.rs | 7 InvalidSubcommand, enumerator 46 Self::InvalidSubcommand => Some("Invalid Subcommand"), in as_str()
|
D | mod.rs | 432 let mut err = Self::new(ErrorKind::InvalidSubcommand).with_cmd(cmd); in invalid_subcommand() 446 (ContextKind::InvalidSubcommand, ContextValue::String(subcmd)), in invalid_subcommand() 470 let mut err = Self::new(ErrorKind::InvalidSubcommand).with_cmd(cmd); in unrecognized_subcommand() 475 ContextKind::InvalidSubcommand, in unrecognized_subcommand() 520 (ContextKind::InvalidSubcommand, ContextValue::String(parent)), in missing_subcommand()
|
D | format.rs | 218 ErrorKind::InvalidSubcommand => { in write_dynamic_context() 219 let invalid_sub = error.get(ContextKind::InvalidSubcommand); in write_dynamic_context() 244 let invalid_sub = error.get(ContextKind::InvalidSubcommand); in write_dynamic_context()
|
/third_party/rust/crates/clap/examples/derive_ref/ |
D | hand_subcommand.rs | 27 ErrorKind::InvalidSubcommand, in from_arg_matches() 42 ErrorKind::InvalidSubcommand, in update_from_arg_matches()
|
/third_party/rust/crates/clap/tests/builder/ |
D | subcommands.rs | 463 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidSubcommand); in busybox_like_multicall() 481 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidSubcommand); in hostname_like_multicall() 503 assert_eq!(err.kind(), ErrorKind::InvalidSubcommand); in bad_multicall_command_error() 516 assert_eq!(err.kind(), ErrorKind::InvalidSubcommand); in bad_multicall_command_error()
|
D | app_settings.rs | 178 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidSubcommand); in infer_subcommands_fail_no_args() 190 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidSubcommand); in infer_subcommands_fail_no_args() 265 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidSubcommand); in infer_subcommands_fail_suggestions() 277 assert_eq!(m.unwrap_err().kind(), ErrorKind::InvalidSubcommand); in infer_subcommands_fail_suggestions() 621 assert_eq!(err.kind(), ErrorKind::InvalidSubcommand); in disable_help_subcommand()
|
D | help.rs | 2508 assert_eq!(err.kind(), ErrorKind::InvalidSubcommand); in disabled_help_flag() 2520 assert_eq!(err.kind(), ErrorKind::InvalidSubcommand); in disabled_help_flag_and_subcommand()
|
/third_party/rust/crates/clap/tests/derive/ |
D | subcommands.rs | 597 clap::error::ErrorKind::InvalidSubcommand, in skip_subcommand() 603 clap::error::ErrorKind::InvalidSubcommand, in skip_subcommand()
|
/third_party/rust/crates/clap/clap_derive/src/derives/ |
D | subcommand.rs | 553 …::std::result::Result::Err(clap::Error::raw(clap::error::ErrorKind::InvalidSubcommand, format!("Th… in gen_from_arg_matches()
|
/third_party/rust/crates/clap/ |
D | CHANGELOG.md | 509 - `ErrorKind::UnrecognizedSubcommand` replaced with `ErrorKind::InvalidSubcommand` to remove an unn… 591 - *(parser)* Prefer `InvalidSubcommand` over `UnknownArgument` in more cases (#4219)
|