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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=244217

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