Searched refs:valid_subcommands (Results 1 – 6 of 6) sorted by relevance
72 pub(crate) valid_subcommands: Vec<Id>, field1212 self.disable_asserts || id == Id::empty_hash() || self.valid_subcommands.contains(&id) in is_valid_subcommand()1389 } else if self.valid_subcommands.contains(_arg) { in verify_arg()1414 } else if self.valid_subcommands.contains(arg) { in get_arg()1439 || self.valid_subcommands.contains(id) in get_subcommand()
71 pub(crate) valid_subcommands: Vec<Str>, field1047 _name.is_empty() || self.valid_subcommands.iter().any(|s| *s == _name) in is_valid_subcommand()1306 if name.is_empty() || self.valid_subcommands.iter().any(|s| *s == name) { in get_subcommand()
33 valid_subcommands: _cmd in new()
33 valid_subcommands: _cmd.get_subcommands().map(|sc| sc.get_id()).collect(), in new()