Lines Matching refs:subcmd
287 let subcmd = if let Some(idx) = pos { in mut_subcommand() localVariable
293 self.subcommands.push(f(subcmd)); in mut_subcommand()
387 pub fn subcommand(self, subcmd: impl Into<Command>) -> Self { in subcommand()
388 let subcmd = subcmd.into(); in subcommand() localVariable
389 self.subcommand_internal(subcmd) in subcommand()
392 fn subcommand_internal(mut self, mut subcmd: Self) -> Self { in subcommand_internal()
395 subcmd.disp_ord.get_or_insert(current); in subcommand_internal()
398 self.subcommands.push(subcmd); in subcommand_internal()
418 for subcmd in subcmds { in subcommands()
419 self = self.subcommand(subcmd); in subcommands()
3823 for subcmd in self.get_subcommands_mut() { in _build_recursive()
3824 subcmd._build_recursive(expand_help_tree); in _build_recursive()