while ((ch = rcs_getopt(argc, argv, "k:n::q::r:u::V")) != -1) {
while ((ch = rcs_getopt(argc, argv, "k:n::q::r:u::Vx:")) != -1) {
rcsclean_main(int argc, char **argv){	int i, ch;	RCSNUM *rev;	DIR *dirp;	struct dirent *dp;	rev = RCS_HEAD_REV;	while ((ch = rcs_getopt(argc, argv, "k:n::q::r:u::V")) != -1) {		switch (ch) {		case 'k':			kflag = rcs_kflag_get(rcs_optarg);			if (RCS_KWEXP_INVAL(kflag)) {				cvs_log(LP_ERR,				    "invalid RCS keyword expansion mode");				(usage)();				exit(1);			}			break;		case 'n':			rcs_set_rev(rcs_optarg, &rev);			nflag = 1;			break;		case 'q':			rcs_set_rev(rcs_optarg, &rev);			verbose = 0;			break;		case 'r':			rcs_set_rev(rcs_optarg, &rev);			break;		case 'u':			rcs_set_rev(rcs_optarg, &rev);			uflag = 1;			break;		case 'V':			printf("%s\n", rcs_version);			exit(0);		default:			break;		}	}	argc -= rcs_optind;	argv += rcs_optind;	if (argc == 0) {		if ((dirp = opendir(".")) == NULL) {			cvs_log(LP_ERRNO, "failed to open directory '.'");			(usage)();			exit(1);		}		while ((dp = readdir(dirp)) != NULL) {			if (dp->d_type == DT_DIR)				continue;			rcsclean_file(dp->d_name, rev);		}		closedir(dirp);	} else {		for (i = 0; i < argc; i++)			rcsclean_file(argv[i], rev);	}	return (0);}