Git-Raw
view release on metacpan or search on metacpan
deps/libgit2/src/cli/opt.c view on Meta::CPAN
if (!given)
given = spec_included(given_specs, spec);
/*
* Validate the requirement unless we're in a required
* choice. In that case, keep the required state and
* validate at the end of the choice list.
*/
if (!spec_is_choice(spec)) {
if (!given) {
opt->spec = required;
opt->status = CLI_OPT_STATUS_MISSING_ARGUMENT;
break;
}
required = NULL;
given = 0;
}
}
return opt->status;
( run in 0.351 second using v1.01-cache-2.11-cpan-0d8aa00de5b )