Searched refs:requires_if (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/structopt/tests/ui/ |
D | raw.stderr | 14 …note: if you need to call `clap::Arg/App::requires_if` method you can do it like this: #[structopt… 18 19 | #[structopt(raw(requires_if = r#""one", "two""#))]
|
D | raw.rs | 19 #[structopt(raw(requires_if = r#""one", "two""#))]
|
/external/rust/crates/structopt/tests/ |
D | non_literal_attributes.rs | 33 #[structopt(name = "FILE", requires_if("FILE", "values"))]
|
/external/rust/crates/clap/src/args/ |
D | arg.rs | 142 "requires_if" => yaml_tuple2!(a, v, requires_if), in from_yaml() 143 "requires_ifs" => yaml_tuple2!(a, v, requires_if), in from_yaml() 1475 pub fn requires_if(mut self, val: &'b str, arg: &'a str) -> Self { in requires_if() method
|
/external/rust/crates/clap/ |
D | CHANGELOG.md | 713 * **Arg::requires_if[s]:** adds the ability to *conditionally* require additional args (such as if…
|