Home
last modified time | relevance | path

Searched refs:is_required_set (Results 1 – 10 of 10) sorted by relevance

/third_party/rust/crates/clap/tests/
Dmacros.rs8 assert!(!arg.is_required_set()); in name_explicit()
17 assert!(!arg.is_required_set()); in name_from_long()
26 assert!(arg.is_required_set()); in name_from_value()
48 assert!(!arg.is_required_set()); in short()
56 assert!(!arg.is_required_set()); in short()
64 assert!(!arg.is_required_set()); in short()
72 assert!(!arg.is_required_set()); in short()
87 assert!(!arg.is_required_set()); in short_and_long()
96 assert!(!arg.is_required_set()); in short_and_long()
105 assert!(!arg.is_required_set()); in short_and_long()
[all …]
/third_party/rust/crates/clap/src/builder/
Darg_settings.rs107 assert!(m.is_required_set()); in setting()
113 assert!(m.is_required_set()); in unset_setting()
116 assert!(!m.is_required_set(), "{m:#?}"); in unset_setting()
124 assert!(m.is_required_set()); in setting_bitor()
136 assert!(m.is_required_set()); in unset_setting_bitor()
141 assert!(!m.is_required_set(), "{m:#?}"); in unset_setting_bitor()
Ddebug_asserts.rs157 !arg.is_required_set(), in assert_app()
172 !arg.is_required_set(), in assert_app()
187 !arg.is_required_set(), in assert_app()
202 !arg.is_required_set(), in assert_app()
253 !(arg.is_required_set() && arg.is_global_set()), in assert_app()
570 let ok = last.is_required_set() in _verify_positionals()
616 if foundx2 && !p.is_required_set() { in _verify_positionals()
618 p.is_required_set(), in _verify_positionals()
625 } else if p.is_required_set() && !p.is_last_set() { in _verify_positionals()
648 p.is_required_set(), in _verify_positionals()
[all …]
Darg_group.rs507 pub fn is_required_set(&self) -> bool { in is_required_set() method
Darg.rs3936 pub fn is_required_set(&self) -> bool { in is_required_set() method
4177 let required = required.unwrap_or_else(|| self.is_required_set()); in stylize_arg_suffix()
Dcommand.rs4467 for a in self.args.args().filter(|a| a.is_required_set()) { in required_graph()
/third_party/rust/crates/clap/clap_complete_fig/src/
Dfig.rs382 if !arg.is_required_set() { in gen_args()
/third_party/rust/crates/clap/src/output/
Dusage.rs169 if f.is_required_set() { in needs_options_tag()
/third_party/rust/crates/clap/clap_mangen/src/
Drender.rs266 markers(opt.is_required_set()) in option_markers()
/third_party/rust/crates/clap/clap_complete/src/shells/
Dzsh.rs662 } else if !arg.is_required_set() {