Lines Matching full:popt
234 OptSpec *pOpt;
238 for (pOpt = opts; pOpt->name != 0; pOpt++) {
239 if (strcmp(pOpt->name, pArgName) == 0) {
240 switch (pOpt->type) {
242 *(UBool *)(pOpt->pVar) = TRUE;
247 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name);
250 *(const char **)(pOpt->pVar) = argv[argNum];
255 fprintf(stderr, "value expected for \"%s\" option.\n", pOpt->name);
261 fprintf(stderr, "integer value expected for \"%s\" option.\n", pOpt->name);
264 *(int *)(pOpt->pVar) = i;
269 if (pOpt->name == 0)