The clear option (-c) is not compatible with keep (-k) and compress (-z)

options.

Obtained from:	WHEEL Systems
This commit is contained in:
pjd 2012-12-14 15:04:39 +00:00
parent a555e48222
commit ab75315eec

View File

@ -681,6 +681,8 @@ main(int argc, char **argv)
}
if (checkfor && (clear || force || keep))
usage();
if (clear && (compress || keep))
usage();
argc -= optind;
argv += optind;
if (argc >= 1) {