Home
last modified time | relevance | path

Searched refs:short_flag_aliases (Results 1 – 2 of 2) sorted by relevance

/third_party/rust/crates/clap/src/builder/
Dcommand.rs87 short_flag_aliases: Vec<(char, bool)>, // (name, visible) field
2296 self.short_flag_aliases.push((name, false)); in short_flag_alias()
2298 self.short_flag_aliases.clear(); in short_flag_alias()
2384 pub fn short_flag_aliases(mut self, names: impl IntoIterator<Item = char>) -> Self { in short_flag_aliases() method
2387 self.short_flag_aliases.push((s, false)); in short_flag_aliases()
2479 self.short_flag_aliases.push((name, true)); in visible_short_flag_alias()
2481 self.short_flag_aliases.clear(); in visible_short_flag_alias()
2568 self.short_flag_aliases.push((s, true)); in visible_short_flag_aliases()
3312 self.short_flag_aliases in get_visible_short_flag_aliases()
3336 self.short_flag_aliases.iter().map(|a| a.0) in get_all_short_flag_aliases()
[all …]
/third_party/rust/crates/clap/tests/builder/
Dflag_subcommands.rs180 .short_flag_aliases(['M', 'B']), in flag_subcommand_short_with_aliases()
223 .short_flag_aliases(['-', '-', '-']), in flag_subcommand_short_with_aliases_hyphen()