Home
last modified time | relevance | path

Searched refs:takes_values (Results 1 – 9 of 9) sorted by relevance

/third_party/rust/crates/clap/src/builder/
Drange.rs78 pub fn takes_values(&self) -> bool { in takes_values() method
204 assert!(range.takes_values()); in from_fixed()
215 assert!(!range.takes_values()); in from_fixed_empty()
226 assert!(range.takes_values()); in from_range()
237 assert!(range.takes_values()); in from_range_inclusive()
248 assert!(range.takes_values()); in from_range_full()
259 assert!(range.takes_values()); in from_range_from()
270 assert!(range.takes_values()); in from_range_to()
281 assert!(range.takes_values()); in from_range_to_inclusive()
Daction.rs280 pub fn takes_values(&self) -> bool { in takes_values() method
Ddebug_asserts.rs708 arg.get_action().takes_values(), in assert_arg()
777 num_vals.takes_values(), in assert_arg()
Darg.rs3944 self.get_action().takes_values() in is_takes_value_set()
4106 let nargs = if self.get_action().takes_values() { in _build()
/third_party/rust/crates/clap/clap_complete/src/generator/
Dutils.rs117 .filter(|a| !a.get_num_args().expect("built").takes_values() && !a.is_positional()) in flags()
124 if !a.get_num_args().expect("built").takes_values() { in possible_values()
/third_party/rust/crates/clap/clap_complete/src/shells/
Dfish.rs158 if !option.get_num_args().expect("built").takes_values() { in value_completion()
/third_party/rust/crates/clap/clap_complete_fig/src/
Dfig.rs356 if !arg.get_num_args().expect("built").takes_values() { in gen_args()
/third_party/rust/crates/clap/clap_mangen/src/
Drender.rs312 if opt.is_hide_default_value_set() || !opt.get_action().takes_values() { in option_default_values()
/third_party/rust/crates/clap/clap_derive/src/derives/
Dargs.rs317 .required(#required && #action_value.takes_values()) in gen_augment()