Home
last modified time | relevance | path

Searched refs:short_aliases (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/clap/tests/builder/
Darg_aliases_short.rs32 .short_aliases(['1', '2', '3']), in multiple_short_aliases_of_option()
102 .short_aliases(['a', 'b', 'c', 'd', 'e']) in multiple_short_aliases_of_flag()
144 .short_aliases(['1', '2', '3']), in short_alias_on_a_subcommand_option()
181 .short_aliases(['a', 'b', 'c']), in invisible_short_arg_aliases_help_output()
183 .arg(arg!(-f - -flag).short_aliases(['x', 'y', 'z'])), in invisible_short_arg_aliases_help_output()
Darg_aliases.rs95 .short_aliases(['a', 'b', 'c']) in get_aliases()
/third_party/rust/crates/clap/src/builder/
Darg.rs72 pub(crate) short_aliases: Vec<(char, bool)>, // (name, visible) field
263 self.short_aliases.push((name, false)); in short_alias()
265 self.short_aliases.clear(); in short_alias()
320 pub fn short_aliases(mut self, names: impl IntoIterator<Item = char>) -> Self { in short_aliases() method
323 self.short_aliases.push((s, false)); in short_aliases()
379 self.short_aliases.push((name, true)); in visible_short_alias()
381 self.short_aliases.clear(); in visible_short_alias()
434 self.short_aliases.push((n, true)); in visible_short_aliases()
3741 if self.short_aliases.is_empty() { in get_visible_short_aliases()
3745 self.short_aliases in get_visible_short_aliases()
[all …]
Ddebug_asserts.rs74 for (short_alias, _) in &arg.short_aliases { in assert_app()
/third_party/rust/crates/clap/clap_complete/src/shells/
Dzsh.rs569 if let Some(short_aliases) = f.get_visible_short_aliases() {
570 for alias in short_aliases {
/third_party/rust/crates/clap/src/
Dmkeymap.rs168 for (short, _) in arg.short_aliases.iter() { in append_keys()
/third_party/rust/crates/clap/src/output/
Dhelp_template.rs765 .short_aliases in spec_vals()
774 a.short_aliases in spec_vals()
/third_party/rust/crates/clap/
DCHANGELOG.md506 - `Arg::short_aliases` and other builder functions that took `&[]` need the `&` dropped (#4081)