Home | History | Annotate | Download | only in grep

Lines Matching refs:optarg

416 			if (optarg == NULL) {
425 l = strtoull(optarg, &ep, 10);
450 if (strcasecmp(optarg, "skip") == 0)
452 else if (strcasecmp(optarg, "read") == 0)
458 if (strcasecmp("recurse", optarg) == 0) {
461 } else if (strcasecmp("skip", optarg) == 0)
463 else if (strcasecmp("read", optarg) == 0)
472 add_pattern(optarg, strlen(optarg));
479 read_patterns(optarg);
516 mcount = strtoull(optarg, &ep, 10);
578 if (strcasecmp("binary", optarg) == 0)
580 else if (strcasecmp("without-match", optarg) == 0)
582 else if (strcasecmp("text", optarg) == 0)
589 if (optarg == NULL || strcasecmp("auto", optarg) == 0 ||
590 strcasecmp("tty", optarg) == 0 ||
591 strcasecmp("if-tty", optarg) == 0) {
598 } else if (strcasecmp("always", optarg) == 0 ||
599 strcasecmp("yes", optarg) == 0 ||
600 strcasecmp("force", optarg) == 0) {
602 } else if (strcasecmp("never", optarg) != 0 &&
603 strcasecmp("none", optarg) != 0 &&
604 strcasecmp("no", optarg) != 0)
613 label = optarg;
620 add_fpattern(optarg, INCL_PAT);
624 add_fpattern(optarg, EXCL_PAT);
628 add_dpattern(optarg, INCL_PAT);
632 add_dpattern(optarg, EXCL_PAT);