Lines Matching refs:arg
576 const char *arg = argv[argi];
577 if (arg[0] == '-') {
579 if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) {
581 } else if (strcmp(arg, "-a") == 0) {
583 } else if (strcmp(arg, "-c") == 0) {
586 } else if (strcmp(arg, "-C") == 0) {
588 } else if (strcmp(arg, "--no-color") == 0) {
590 } else if (strcmp(arg, "-d") == 0) {
593 if (arg[2] == '\0'
595 // next arg is what
615 } else if (strcmp(arg, "-e") == 0) {
619 if (arg[2] == '=') {
621 filterString = arg + 3;
622 } else if (arg[2] == '\0'
624 // next arg is string
687 } else if (strcmp(arg, "-f") == 0) {
689 } else if (strcmp(arg, "-i") == 0) {
691 } else if (strcmp(arg, "-l") == 0) {
693 } else if (strcmp(arg, "-r") == 0) {
695 } else if (strcmp(arg, "-s") == 0) {
697 } else if (strcmp(arg, "-t") == 0) {
699 } else if (strcmp(arg, "-T") == 0) {
701 } else if (strcmp(arg, "-g") == 0) {
703 } else if (strcmp(arg, "-S") == 0) {
705 } else if (strncmp(arg, "-o", 2) == 0) {
708 if (arg[2] == '=') {
710 filename = arg + 3;
711 } else if (arg[2] == '\0'
713 // next arg is name