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

options.

Obtained from:	WHEEL Systems
This commit is contained in:
Pawel Jakub Dawidek 2012-12-14 15:04:39 +00:00
parent 410604696d
commit 22374de9ca

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) {