]> Dogcows Code - chaz/tar/commitdiff
Fix unrecognized option.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 29 Mar 2012 05:57:29 +0000 (08:57 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 29 Mar 2012 05:57:29 +0000 (08:57 +0300)
* src/tar.c (parse_opt): Handle OLD_ARCHIVE_OPTION.

src/tar.c

index ec7ebabb356622aa7a6a944c79223279671ae4d7..8c4f656bb24473f6dfda5c3a7555e899ed4a8bdd 100644 (file)
--- a/src/tar.c
+++ b/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;
This page took 0.022333 seconds and 4 git commands to generate.