Sfoglia il codice sorgente

Fix unrecognized option.

* src/tar.c (parse_opt): Handle OLD_ARCHIVE_OPTION.
Sergey Poznyakoff 13 anni fa
parent
commit
2a61a3701f
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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;