浏览代码

(decode_options): Do not require -L with -M -Hpax.
It could be needed in future, but currently it is not.

Sergey Poznyakoff 19 年之前
父节点
当前提交
7110641821
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      src/tar.c

+ 0 - 7
src/tar.c

@@ -2038,13 +2038,6 @@ decode_options (int argc, char **argv)
 		   | FORMAT_MASK (GNU_FORMAT)
 		   | FORMAT_MASK (POSIX_FORMAT));
 
-  if (multi_volume_option
-      && archive_format == POSIX_FORMAT
-      && subcommand_option == CREATE_SUBCOMMAND
-      && !tape_length_option)
-    USAGE_ERROR ((0, 0,
-		  _("creating multi-volume archives in posix format requires using --tape-length (-L) option")));
-
   if (occurrence_option)
     {
       if (!args.input_files)