Lines Matching refs:first
88 if let Some((first, second)) = cmd.two_args_of(|x| x.get_id() == arg.get_id()) {
93 duplicate_tip(cmd, first, second),
99 if let Some((first, second)) = cmd.two_args_of(|x| x.get_long() == Some(l)) {
105 first.get_id(),
107 duplicate_tip(cmd, first, second)
114 if let Some((first, second)) = cmd.two_args_of(|x| x.get_short() == Some(s)) {
120 first.get_id(),
122 duplicate_tip(cmd, first, second),
129 if let Some((first, second)) =
138 first.get_id(),
369 fn duplicate_tip(cmd: &Command, first: &Arg, second: &Arg) -> &'static str {
371 && (first.get_id() == Id::HELP || second.get_id() == Id::HELP)
375 && (first.get_id() == Id::VERSION || second.get_id() == Id::VERSION)
499 // Because you must wait until all arguments have been supplied, this is the first chance
751 // This can be the cause of later asserts, so put this first