version 1.15, 2005/04/03 17:32:50 |
version 1.16, 2005/04/11 17:56:27 |
|
|
cvs_log(LP_ERR, |
cvs_log(LP_ERR, |
"invalid RCS keyword expansion mode"); |
"invalid RCS keyword expansion mode"); |
rcs_kflag_usage(); |
rcs_kflag_usage(); |
return (EX_USAGE); |
return (1); |
} |
} |
break; |
break; |
case 'r': |
case 'r': |
|
|
rcsid = optarg; |
rcsid = optarg; |
break; |
break; |
default: |
default: |
return (EX_USAGE); |
return (1); |
} |
} |
} |
} |
|
|
|
|
if (!statmod && (argc == 0)) { |
if (!statmod && (argc == 0)) { |
cvs_log(LP_ERR, |
cvs_log(LP_ERR, |
"must specify at least one module or directory"); |
"must specify at least one module or directory"); |
return (EX_USAGE); |
return (1); |
} |
} |
|
|
if (statmod && (argc > 0)) { |
if (statmod && (argc > 0)) { |
cvs_log(LP_ERR, "-c and -s must not get any arguments"); |
cvs_log(LP_ERR, "-c and -s must not get any arguments"); |
return (EX_USAGE); |
return (1); |
} |
} |
|
|
*arg = optind; |
*arg = optind; |