Lines Matching defs:cmdOptions
385 cmdOptions_t cmdOptions[MAXOPTIONS + 1];
507 (void) memset(&cmdOptions[0], 0, sizeof (cmdOptions));
550 cmdOptions[i].optval = opt;
553 if (len > sizeof (cmdOptions[i].optarg)
561 (void) strncpy(cmdOptions[i].optarg,
586 if (cmdOptions[0].optval != 0) { /* options were input */
593 for (i = 0; cmdOptions[i].optval; i++) {
595 if (!(strchr(availOptions, cmdOptions[i].optval))) {
597 cmdOptions[i].optval,
604 cmdOptions[i].optval))) {
607 } else if (cmdOptions[1].optval != 0 &&
610 cmdOptions[i].optval)) {
612 commandName, cmdOptions[i].optval,
678 &cmdOptions[0], callArgs);