Lines Matching refs:one
90 "Command {}: Argument names must be unique, but '{}' is in use by more than one argument or group{}",
135 Use `Arg::num_args(1..)` to allow one \
423 for (one, two) in find_duplicates(flags) {
424 match (one, two) {
425 (Command(flag, one), Command(_, another)) if one != another => panic!(
426 "the '{flag}' {short_or_long} flag is specified for both '{one}' and '{another}' subcommands"
429 (Arg(flag, one), Arg(_, another)) if one != another => panic!(
430 "{short_or_long} option names must be unique, but '{flag}' is in use by both '{one}' and '{another}'"
558 // the one before it (second to last) has one of these:
576 last* positional argument, the last positional argument (i.e. the one \
603 "Only one positional argument with `.num_args(1..)` set is allowed per \
604 command, unless the second one also has .last(true) set"
668 "Only one positional argument may have last(true) set. Found two."