Searched refs:get_keymap (Results 1 – 4 of 4) sorted by relevance
516 .get_keymap() in _verify_positionals()528 let num_p = cmd.get_keymap().keys().filter(|x| x.is_position()).count(); in _verify_positionals()576 let last = &cmd.get_keymap()[&KeyType::Position(highest_idx)]; in _verify_positionals()577 let second_to_last = &cmd.get_keymap()[&KeyType::Position(highest_idx - 1)]; in _verify_positionals()656 for p in (1..=num_p).rev().filter_map(|n| cmd.get_keymap().get(&n)) { in _verify_positionals()
3763 pub(crate) fn get_keymap(&self) -> &MKeyMap { in get_keymap() method3891 .get_keymap() in _build_self()
73 .get_keymap() in get_matches_with()381 if let Some(arg) = self.cmd.get_keymap().get(&pos_counter) { in get_matches_with()759 let arg = if let Some(arg) = self.cmd.get_keymap().get(long_arg) { in parse_long_arg()828 .get_keymap() in parse_long_arg()865 .get_keymap() in parse_short_arg()874 .get_keymap() in parse_short_arg()916 if let Some(arg) = self.cmd.get_keymap().get(&c) { in parse_short_arg()1533 .get_keymap() in did_you_mean_error()1551 if let Some(arg) = self.cmd.get_keymap().get(&name.as_ref()) { in did_you_mean_error()
58 let longs = subcommand.get_keymap().keys().filter_map(|a| { in did_you_mean_flag()