Home
last modified time | relevance | path

Searched refs:has_subcommands (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/clap/src/completions/
Dmod.rs96 p.has_subcommands() in subcommands_of()
98 if !p.has_subcommands() { in subcommands_of()
144 if !p.has_subcommands() { in get_all_subcommand_paths()
Dzsh.rs212 p.has_subcommands()
214 if !p.has_subcommands() {
287 let sc_or_a = if p.has_subcommands() {
295 let sc = if p.has_subcommands() {
/external/rust/crates/clap/src/app/
Dparser.rs488 pub fn has_subcommands(&self) -> bool { in has_subcommands() function
520 self.has_subcommands() in has_visible_subcommands()
666 && self.has_subcommands() in verify_positionals()
1177 } else if !has_args || self.is_set(AS::InferSubcommands) && self.has_subcommands() { in get_matches_with()
Dhelp.rs769 let subcmds = parser.has_subcommands(); in write_default_help()