Searched refs:long_flag (Results 1 – 4 of 4) sorted by relevance
9 Command::new("some").short_flag('S').long_flag("some").arg( in flag_subcommand_normal()32 .long_flag("S") in flag_subcommand_normal_with_alias()132 .long_flag("sync") in flag_subcommand_long_with_alias_same_as_long_flag()250 Command::new("some").long_flag("some").arg( in flag_subcommand_long()272 .long_flag("some") in flag_subcommand_long_with_alias()296 .long_flag("some") in flag_subcommand_long_with_aliases()321 .long_flag("some") in flag_subcommand_multiple()327 .long_flag("result") in flag_subcommand_multiple()357 .subcommand(Command::new("some").short_flag('f').long_flag("some")) in flag_subcommand_short_conflict_with_arg()368 .subcommand(Command::new("some").short_flag('f').long_flag("some")) in flag_subcommand_short_conflict_with_alias()[all …]
2548 .subcommand(Command::new("help").long_flag("help")) in override_help_flag_using_long()
16 .long_flag("query") in main()43 .long_flag("sync") in main()
73 long_flag: Option<Str>, field2236 pub fn long_flag(mut self, long: impl Into<Str>) -> Self { in long_flag() method2237 self.long_flag = Some(long.into()); in long_flag()3273 self.long_flag.as_deref() in get_long_flag()4428 match self.long_flag.as_ref() { in long_flag_aliases_to()4429 Some(long_flag) => { in long_flag_aliases_to()4430 long_flag == flag || self.get_all_long_flag_aliases().any(|alias| alias == flag) in long_flag_aliases_to()4627 long_flag: Default::default(), in default()