Home
last modified time | relevance | path

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

/external/rust/crates/structopt/tests/ui/
Draw.stderr14 …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""#))]
Draw.rs19 #[structopt(raw(requires_if = r#""one", "two""#))]
/external/rust/crates/structopt/tests/
Dnon_literal_attributes.rs33 #[structopt(name = "FILE", requires_if("FILE", "values"))]
/external/rust/crates/clap/src/args/
Darg.rs142 "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/
DCHANGELOG.md713 * **Arg::requires_if[s]:** adds the ability to *conditionally* require additional args (such as if…