version 1.8, 2005/04/03 17:32:50 |
version 1.9, 2005/04/11 17:56:27 |
|
|
if ((bnum = rcsnum_parse(branch)) == NULL) { |
if ((bnum = rcsnum_parse(branch)) == NULL) { |
cvs_log(LP_ERR, "%s is not a numeric branch", |
cvs_log(LP_ERR, "%s is not a numeric branch", |
branch); |
branch); |
return (EX_USAGE); |
return (1); |
} |
} |
rcsnum_free(bnum); |
rcsnum_free(bnum); |
break; |
break; |
|
|
if (cvs_file_ignore(optarg) < 0) { |
if (cvs_file_ignore(optarg) < 0) { |
cvs_log(LP_ERR, "failed to add `%s' to list " |
cvs_log(LP_ERR, "failed to add `%s' to list " |
"of ignore patterns", optarg); |
"of ignore patterns", optarg); |
return (EX_USAGE); |
return (1); |
} |
} |
break; |
break; |
case 'k': |
case 'k': |
|
|
} |
} |
break; |
break; |
default: |
default: |
return (EX_USAGE); |
return (1); |
} |
} |
} |
} |
|
|
|
|
*arg = optind; |
*arg = optind; |
|
|
if (argc > 4) |
if (argc > 4) |
return (EX_USAGE); |
return (1); |
|
|
module = argv[0]; |
module = argv[0]; |
vendor = argv[1]; |
vendor = argv[1]; |