Lines Matching refs:arg
642 const char *arg = argv[argi++];
643 if (moreOptions && arg[0] == '-') {
644 if (strcmp(arg, "-d") == 0 || strcmp(arg, "--data") == 0) {
647 } else if (strcmp(arg, "-h") == 0 || strcmp(arg, "--help") == 0) {
650 } else if (strcmp(arg, "-m") == 0 || strcmp(arg, "--move") == 0) {
653 } else if (strcmp(arg, "-n") == 0 || strcmp(arg, "--name") == 0) {
662 } else if (strcmp(arg, "-r") == 0
663 || strcmp(arg, "--recursive") == 0) {
666 } else if (strcmp(arg, "-t") == 0 || strcmp(arg, "--type") == 0) {
675 } else if (strcmp(arg, "-v") == 0
676 || strcmp(arg, "--verbose") == 0) {
679 } else if (strcmp(arg, "-x") == 0) {
682 } else if (strcmp(arg, "-X") == 0) {
685 } else if (strcmp(arg, "-") == 0 || strcmp(arg, "--") == 0) {
689 fprintf(stderr, "Error: Invalid option: \"%s\"\n", arg);
695 files[fileCount++] = arg;