findopt_name
curropt = findopt_name(&p, &oname, NULL);
struct loption *findopt_name(char **, char **, int *);
o = findopt_name(&optname, NULL, &err);