Home
last modified time | relevance | path

Searched refs:subcmds (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/clap/src/completions/
Dmod.rs53 let mut subcmds: Vec<_> = subcommands_of(p) in all_subcommand_names() localVariable
58 subcmds.extend(sc_v); in all_subcommand_names()
60 subcmds.sort(); in all_subcommand_names()
61 subcmds.dedup(); in all_subcommand_names()
62 subcmds in all_subcommand_names()
73 let mut subcmds: Vec<_> = subcommands_of(p); in all_subcommands() localVariable
75 subcmds.extend(sc_v); in all_subcommands()
77 subcmds in all_subcommands()
92 let mut subcmds = vec![]; in subcommands_of() localVariable
130 subcmds.push((n.to_owned(), als_bin_name.join(" "))); in subcommands_of()
[all …]
Dbash.rs71 subcmds = self.all_subcommands(), in generate_to()
80 let mut subcmds = String::new(); in all_subcommands() localVariable
84 subcmds = format!( in all_subcommands()
89 subcmds, in all_subcommands()
95 subcmds in all_subcommands()
Dzsh.rs220 let mut subcmds = vec![]; localVariable
232 subcmds.push(v.join("\n"));
248 subcommands = subcmds.join("\n"),
/external/rust/crates/clap/src/app/
Dhelp.rs607 let subcmds = parser.has_visible_subcommands(); in write_all_args() localVariable
646 if subcmds { in write_all_args()
769 let subcmds = parser.has_subcommands(); in write_default_help() localVariable
771 if flags || opts || pos || subcmds { in write_default_help()
776 if flags || opts || pos || subcmds { in write_default_help()
Dmod.rs1089 pub fn subcommands<I>(mut self, subcmds: I) -> Self in subcommands()
1093 for subcmd in subcmds { in subcommands()
/external/rust/crates/structopt-derive/src/
Dlib.rs69 let mut subcmds = fields.iter().filter_map(|field| { in gen_augmentation() localVariable
105 let subcmd = subcmds.next().map(|(_, ts)| ts); in gen_augmentation()
106 if let Some((span, _)) = subcmds.next() { in gen_augmentation()
/external/rust/crates/clap/
DCHANGELOG.md1565 * **AppSettings:** fixes bug where subcmds didn't receive parent ver ([a62e4527](https://github.co…
1596 * **SubCommands:** fixed where subcmds weren't recognized after mult args ([c19c17a8](https://gith…
1913 * allows defining hidden args and subcmds ([2cab4d03](https://github.com/kbknapp/clap-rs/commit/2…