Permit -P to be combined with -t. (It's a no-op then, just as in gtar.)

This commit is contained in:
Tim Kientzle 2004-08-26 06:28:39 +00:00
parent 9d455d451b
commit 85c6c73a4d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134334

View File

@ -451,8 +451,6 @@ main(int argc, char **argv)
"Must specify one of -c, -r, -t, -u, -x");
/* Check boolean options only permitted in certain modes. */
if (bsdtar->option_absolute_paths)
only_mode(bsdtar, "-P", "xcru");
if (bsdtar->option_dont_traverse_mounts)
only_mode(bsdtar, "-X", "cru");
if (bsdtar->option_fast_read)