version 1.79, 2013/04/16 20:24:45 |
version 1.80, 2014/10/02 06:23:15 |
|
|
if (RCS_KWEXP_INVAL(kflag)) { |
if (RCS_KWEXP_INVAL(kflag)) { |
warnx("invalid RCS keyword substitution mode"); |
warnx("invalid RCS keyword substitution mode"); |
(usage)(); |
(usage)(); |
exit(D_ERROR); |
|
} |
} |
break; |
break; |
case 'n': |
case 'n': |
|
|
break; |
break; |
default: |
default: |
(usage)(); |
(usage)(); |
exit(D_ERROR); |
|
} |
} |
} |
} |
|
|
|
|
if (argc == 0) { |
if (argc == 0) { |
warnx("no input file"); |
warnx("no input file"); |
(usage)(); |
(usage)(); |
exit(D_ERROR); |
|
} |
} |
|
|
if (diff_ignore_pats != NULL) { |
if (diff_ignore_pats != NULL) { |
|
|
return (status); |
return (status); |
} |
} |
|
|
void |
__dead void |
rcsdiff_usage(void) |
rcsdiff_usage(void) |
{ |
{ |
fprintf(stderr, |
fprintf(stderr, |
"usage: rcsdiff [-cnquV] [-kmode] [-rrev] [-xsuffixes] [-ztz]\n" |
"usage: rcsdiff [-cnquV] [-kmode] [-rrev] [-xsuffixes] [-ztz]\n" |
" [diff_options] file ...\n"); |
" [diff_options] file ...\n"); |
|
|
|
exit(D_ERROR); |
} |
} |
|
|
static int |
static int |