Explorar o código

Fix unrecognized option.

* src/tar.c (parse_opt): Handle OLD_ARCHIVE_OPTION.
Sergey Poznyakoff %!s(int64=13) %!d(string=hai) anos
pai
achega
2a61a3701f
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/tar.c

+ 4 - 0
src/tar.c

@@ -1979,6 +1979,10 @@ parse_opt (int key, char *arg, struct argp_state *state)
 	}
       break;
 
+    case OLD_ARCHIVE_OPTION:
+      set_archive_format ("v7");
+      break;
+      
     case OVERWRITE_DIR_OPTION:
       old_files_option = DEFAULT_OLD_FILES;
       break;