version 1.5, 1999/12/15 05:33:23 |
version 1.6, 2000/11/20 14:03:30 |
|
|
/* -t only valid with -Tv. */ |
/* -t only valid with -Tv. */ |
if (options & AR_T && options & ~(AR_T|AR_TR|AR_V)) |
if (options & AR_T && options & ~(AR_T|AR_TR|AR_V)) |
badoptions("-t"); |
badoptions("-t"); |
/* -x only valid with -ouTv. */ |
/* -x only valid with -CouTv. */ |
if (options & AR_X && options & ~(AR_O|AR_U|AR_TR|AR_V|AR_X|AR_CC)) |
if (options & AR_X && options & ~(AR_O|AR_U|AR_TR|AR_V|AR_X|AR_CC)) |
badoptions("-x"); |
badoptions("-x"); |
|
|
|
|
(void)fprintf(stderr, "\tar -r [-cuTv] archive file ...\n"); |
(void)fprintf(stderr, "\tar -r [-cuTv] archive file ...\n"); |
(void)fprintf(stderr, "\tar -r [-abciuTv] position archive file ...\n"); |
(void)fprintf(stderr, "\tar -r [-abciuTv] position archive file ...\n"); |
(void)fprintf(stderr, "\tar -t [-Tv] archive [file ...]\n"); |
(void)fprintf(stderr, "\tar -t [-Tv] archive [file ...]\n"); |
(void)fprintf(stderr, "\tar -x [-ouTv] archive [file ...]\n"); |
(void)fprintf(stderr, "\tar -x [-CouTv] archive [file ...]\n"); |
exit(1); |
exit(1); |
} |
} |