Home
last modified time | relevance | path

Searched refs:conflicts_with (Results 1 – 16 of 16) sorted by relevance

/third_party/rust/crates/clap/tests/builder/
Dconflicts.rs9 .arg(arg!(-f --flag "some flag").conflicts_with("other")) in flag_conflict()
20 .arg(arg!(-f --flag "some flag").conflicts_with("other")) in flag_conflict_2()
107 .arg(arg!(-f --flag "some flag").conflicts_with("gr")) in arg_conflicts_with_group()
141 .arg(clap::arg!(-f --flag "some flag").conflicts_with("gr")) in arg_conflicts_with_group_with_multiple_sources()
178 .conflicts_with("flag"), in group_conflicts_with_arg()
212 .arg(arg!(-f --flag "some flag").conflicts_with("gr")) in arg_conflicts_with_required_group()
241 .arg(arg!(-f --flag "some flag").conflicts_with("gr")) in arg_conflicts_with_group_with_required_memeber()
276 .conflicts_with("flag"), in required_group_conflicts_with_arg()
304 let flag = arg!(--flag).conflicts_with("gr"); in get_arg_conflicts_with_group()
458 .conflicts_with("production"), in two_conflicting_arguments()
[all …]
Dflag_subcommands.rs530 .conflicts_with("info") in flag_subcommand_long_short_normal_usage_string()
538 .conflicts_with("search") in flag_subcommand_long_short_normal_usage_string()
577 .conflicts_with("info") in flag_subcommand_long_normal_usage_string()
585 .conflicts_with("search") in flag_subcommand_long_normal_usage_string()
629 .conflicts_with("info") in flag_subcommand_short_normal_usage_string()
637 .conflicts_with("search") in flag_subcommand_short_normal_usage_string()
Drequire.rs255 .conflicts_with("iface") in issue_753()
401 .conflicts_with("b") in required_unless_any_works_with_short()
422 .conflicts_with("b") in required_unless_any_works_with_short_err()
443 .conflicts_with("b") in required_unless_any_works_without()
459 .conflicts_with("b") in required_unless_any_works_with_long()
1047 .conflicts_with("ID"), in issue_1158_app()
1052 .conflicts_with("config") in issue_1158_app()
1082 .conflicts_with("b"), in multiple_required_unless_usage_printing()
1089 .conflicts_with("a"), in multiple_required_unless_usage_printing()
1096 .conflicts_with("d"), in multiple_required_unless_usage_printing()
[all …]
Dutils.rs71 .conflicts_with("flag") in complex_app()
75 .conflicts_with("option") in complex_app()
Dposix_compatible.rs191 .conflicts_with("debug") in conflict_overridden()
212 .conflicts_with("debug") in conflict_overridden_2()
232 .arg(arg!(-f --flag "some flag").conflicts_with("debug")) in conflict_overridden_3()
246 .conflicts_with("debug") in conflict_overridden_4()
Dgroups.rs168 .arg(arg!([base] "Base commit").conflicts_with("delete")) in req_group_with_conflict_usage_string()
198 .arg(arg!(-a --all "All").conflicts_with("delete")) in req_group_with_conflict_usage_string_only_options()
/third_party/rust/crates/clap/src/builder/
Darg_group.rs443 pub fn conflicts_with(mut self, id: impl IntoResettable<Id>) -> Self { in conflicts_with() method
491 self = self.conflicts_with(n); in conflicts_with_all()
529 .conflicts_with("c1") in groups()
531 .conflicts_with("c4") in groups()
552 .conflicts_with("c1") in test_from()
554 .conflicts_with("c4") in test_from()
Darg.rs3558 pub fn conflicts_with(mut self, arg_id: impl IntoResettable<Id>) -> Self { in conflicts_with() method
/third_party/rust/crates/clap/examples/
Dpacman.rs23 .conflicts_with("info") in main()
31 .conflicts_with("search") in main()
49 .conflicts_with("info") in main()
57 .conflicts_with("search") in main()
/third_party/rust/crates/clap/clap_bench/benches/
D03_complex.rs18 .conflicts_with("flag")
21 .conflicts_with("option")
75 .conflicts_with("flag") in build_from_builder()
81 .conflicts_with("option") in build_from_builder()
D04_new_help.rs126 .conflicts_with("output"), in app_example7()
143 .conflicts_with("output"), in app_example8()
/third_party/rust/crates/clap/clap_complete/src/
Ddynamic.rs20 #[command(group = clap::ArgGroup::new("complete").multiple(true).conflicts_with("register"))]
53 conflicts_with = "space",
/third_party/rust/crates/clap/clap_complete/tests/
Dcommon.rs14 .conflicts_with("config") in basic_command()
/third_party/rust/crates/clap/clap_complete_fig/tests/
Dcommon.rs12 .conflicts_with("config") in basic_command()
/third_party/rust/crates/clap/clap_mangen/tests/
Dcommon.rs14 .conflicts_with("config") in basic_command()
/third_party/rust/crates/clap/
DCHANGELOG.md476 …sing, requiring updating of string references to other args like in `conflicts_with` or `requires`…